sigrestorer.S 407 B

123456789101112131415
  1. /*
  2. * Copyright (C) 2004 Atmel Corporation
  3. *
  4. * This file is subject to the terms and conditions of the GNU Lesser General
  5. * Public License. See the file "COPYING.LIB" in the main directory of this
  6. * archive for more details.
  7. */
  8. #include <sys/syscall.h>
  9. .global __default_rt_sa_restorer
  10. .type __default_rt_sa_restorer,"function"
  11. .align 1
  12. __default_rt_sa_restorer:
  13. mov r8, __NR_rt_sigreturn
  14. scall