about summary refs log tree commit diff
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.S8
1 files changed, 5 insertions, 3 deletions
diff --git a/sysdeps/mips/bsd-_setjmp.S b/sysdeps/mips/bsd-_setjmp.S
index bf7cb159fa..919c8a28f8 100644
--- a/sysdeps/mips/bsd-_setjmp.S
+++ b/sysdeps/mips/bsd-_setjmp.S
@@ -27,14 +27,16 @@
 	.option pic2
 #endif
 ENTRY (_setjmp)
-	.set noreorder
 #ifdef __PIC__
+	.set	noreorder
 	.cpload t9
+	.set	reorder
 	la	t9, C_SYMBOL_NAME (__sigsetjmp)
+#endif
+	move	a1,zero		/* Pass a second argument of zero.  */
+#ifdef __PIC__
 	jr	t9
 #else
 	j	C_SYMBOL_NAME (__sigsetjmp)
 #endif
-	move	a1,zero		/* Pass a second argument of zero.  */
-	.set	reorder
 	.end	_setjmp