summaryrefslogtreecommitdiff
path: root/src/setjmp/arm/setjmp.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/setjmp/arm/setjmp.s')
-rw-r--r--src/setjmp/arm/setjmp.s4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/setjmp/arm/setjmp.s b/src/setjmp/arm/setjmp.s
index 41e02d82..6985caab 100644
--- a/src/setjmp/arm/setjmp.s
+++ b/src/setjmp/arm/setjmp.s
@@ -8,9 +8,7 @@ __setjmp:
_setjmp:
setjmp:
mov ip,r0
- stmia ip!,{v1,v2,v3,v4,v5,v6,sl,fp}
- mov r2,sp
- stmia ip!,{r2,lr}
+ stmia ip!,{v1,v2,v3,v4,v5,v6,sl,fp,sp,lr}
mov r0,#0
tst lr,#1
moveq pc,lr