aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/arm/__longjmp.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/arm/__longjmp.S')
-rw-r--r--sysdeps/arm/__longjmp.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/arm/__longjmp.S b/sysdeps/arm/__longjmp.S
index 239b0cfc85..742e0baa16 100644
--- a/sysdeps/arm/__longjmp.S
+++ b/sysdeps/arm/__longjmp.S
@@ -25,9 +25,9 @@
/* __longjmp(jmpbuf, val) */
ENTRY (__longjmp)
- movs r2, r0
+ mov ip, r0
movs r0, r1 /* get the return value in place */
- moveq r1, #1 /* can't let setjmp() return zero! */
+ moveq r0, #1 /* can't let setjmp() return zero! */
- LOADREGS(ia, r2, {v1-v6, sl, fp, sp, pc})
+ LOADREGS(ia, ip, {v1-v6, sl, fp, sp, pc})
END (__longjmp)