sigrestorer.S 381 B

12345678910111213141516171819
  1. /*
  2. * Copyright (C) 2008 Tensilica Inc.
  3. *
  4. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  5. */
  6. #include <sys/syscall.h>
  7. #if __NR_rt_sigreturn > 255
  8. # error value of __NR_rt_sigreturn is too big!
  9. #endif
  10. .text
  11. .align 4
  12. .global __default_sa_restorer
  13. .type __default_sa_restorer, @function
  14. __default_sa_restorer:
  15. movi a2, __NR_rt_sigreturn
  16. syscall