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:
- #ifdef __PIC__
- #if (_MIPS_SIM == _MIPS_SIM_ABI32)
- .set noreorder
- .cpload t9
- .set reorder
- la t9, __sigsetjmp
- #else
- .cpsetup t9, v0, _setjmp
- PTR_LA t9, __sigsetjmp
- .cpreturn
- #endif
- #endif
- move a1,zero
- #ifdef __PIC__
- jr t9
- #else
- j __sigsetjmp
- #endif
- .end _setjmp;
|