setjmp.S 598 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (C) 2004-2007 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. .text
  9. .global __sigsetjmp
  10. .type __sigsetjmp,"function"
  11. .align 1
  12. __sigsetjmp:
  13. mustr r8
  14. stm r12, r0,r1,r2,r3,r4,r5,r6,r7,r8,sp,lr
  15. /*
  16. * Make a tail call to __sigjmp_save; it takes the same args
  17. * and is hidden so we don't need to mess around with the GOT.
  18. */
  19. rjmp __sigjmp_save
  20. .size __sigsetjmp, . - __sigsetjmp
  21. libc_hidden_def(__sigsetjmp)