setjmp.S 654 B

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