aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mips/bsd-setjmp.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mips/bsd-setjmp.S')
-rw-r--r--sysdeps/mips/bsd-setjmp.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/mips/bsd-setjmp.S b/sysdeps/mips/bsd-setjmp.S
index bab312b0df..66a0daa23e 100644
--- a/sysdeps/mips/bsd-setjmp.S
+++ b/sysdeps/mips/bsd-setjmp.S
@@ -30,11 +30,13 @@ ENTRY (setjmp)
.set noreorder
#ifdef __PIC__
.cpload t9
+ .set reorder
la t9, C_SYMBOL_NAME (__sigsetjmp)
+#endif
+ li a1, 1 /* Pass a second argument of one. */
+#ifdef __PIC__
jr t9
#else
j C_SYMBOL_NAME (__sigsetjmp)
#endif
- li a1, 1 /* Pass a second argument of one. */
- .set reorder
.end setjmp