1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- #include <sys/regdef.h>
- #include <sys/asm.h>
- #ifdef __PIC__
- .option pic2
- #endif
- .text
- .global setjmp
- .align 2;
- .ent setjmp,0;
- .type setjmp,@function
- setjmp:
- .set noreorder
- #ifdef __PIC__
- #if _MIPS_SIM == _MIPS_SIM_ABI32
- .cpload t9
- .set reorder
- la t9, __sigsetjmp
- #else
- .cpsetup t9, v0, setjmp
- PTR_LA t9, __sigsetjmp
- .cprestore
- #endif
- #endif
- li a1, 1
- #ifdef __PIC__
- jr t9
- #else
- j __sigsetjmp
- #endif
- .end setjmp
|