about summary refs log tree commit diff
path: root/src/setjmp/arm/longjmp.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/setjmp/arm/longjmp.s')
-rw-r--r--src/setjmp/arm/longjmp.s4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/setjmp/arm/longjmp.s b/src/setjmp/arm/longjmp.s
index 037cb3d3..690a0089 100644
--- a/src/setjmp/arm/longjmp.s
+++ b/src/setjmp/arm/longjmp.s
@@ -7,9 +7,7 @@ longjmp:
 	mov ip,r0
 	movs r0,r1
 	moveq r0,#1
-	ldmia ip!, {v1,v2,v3,v4,v5,v6,sl,fp}
-	ldr sp,[ip],#4
-	ldr lr,[ip],#4
+	ldmia ip!, {v1,v2,v3,v4,v5,v6,sl,fp,sp,lr}
 	tst lr,#1
 	moveq pc,lr
 	bx lr