123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- #include <jmpbuf-offsets.h>
- #define ST_FLUSH_WINDOWS 3
- .global _setjmp
- .type _setjmp,%function
- .align 4
- _setjmp:
- b 1f
- set 0, %o1
- .size _setjmp,.-_setjmp
- .global setjmp
- .type setjmp,%function
- .align 4
- setjmp:
- set 1, %o1
- .size setjmp,.-setjmp
- .global __sigsetjmp
- .type __sigsetjmp,%function
- .align 4
- __sigsetjmp:
- 1:
-
- ta ST_FLUSH_WINDOWS
- st %o7, [%o0 + (JB_PC * 4)]
- st %sp, [%o0 + (JB_SP * 4)]
- st %fp, [%o0 + (JB_FP * 4)]
- mov %o7, %g1
- call __sigjmp_save
- mov %g1, %o7
- .size __sigsetjmp,.-__sigsetjmp
- .weak _setjmp
- .weak setjmp
|