aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mips
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mips')
-rw-r--r--sysdeps/mips/bsd-_setjmp.S3
-rw-r--r--sysdeps/mips/bsd-setjmp.S1
-rw-r--r--sysdeps/mips/setjmp.S1
3 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/mips/bsd-_setjmp.S b/sysdeps/mips/bsd-_setjmp.S
index 6e6844cc52..78776cd3e5 100644
--- a/sysdeps/mips/bsd-_setjmp.S
+++ b/sysdeps/mips/bsd-_setjmp.S
@@ -25,4 +25,5 @@ Cambridge, MA 02139, USA. */
ENTRY (setjmp)
j C_SYMBOL_NAME (__sigsetjmp)
- li a1, zero /* Pass a second argument of zero. */
+ li a1, $0 /* Pass a second argument of zero. */
+ .end setjmp
diff --git a/sysdeps/mips/bsd-setjmp.S b/sysdeps/mips/bsd-setjmp.S
index 5cd090a31c..4742462e88 100644
--- a/sysdeps/mips/bsd-setjmp.S
+++ b/sysdeps/mips/bsd-setjmp.S
@@ -26,3 +26,4 @@ Cambridge, MA 02139, USA. */
ENTRY (setjmp)
j C_SYMBOL_NAME (__sigsetjmp)
li a1, 1 /* Pass a second argument of one. */
+ .end setjmp
diff --git a/sysdeps/mips/setjmp.S b/sysdeps/mips/setjmp.S
index b3c0247468..0f5dba3a60 100644
--- a/sysdeps/mips/setjmp.S
+++ b/sysdeps/mips/setjmp.S
@@ -29,3 +29,4 @@ ENTRY (__sigsetjmp)
move a3, $fp
#endif
j __sigsetjmp_aux
+ .end __sigsetjmp