aboutsummaryrefslogtreecommitdiff
path: root/ports/sysdeps/arm/__longjmp.S
diff options
context:
space:
mode:
Diffstat (limited to 'ports/sysdeps/arm/__longjmp.S')
-rw-r--r--ports/sysdeps/arm/__longjmp.S4
1 files changed, 1 insertions, 3 deletions
diff --git a/ports/sysdeps/arm/__longjmp.S b/ports/sysdeps/arm/__longjmp.S
index 1503923aaa..27c57a12df 100644
--- a/ports/sysdeps/arm/__longjmp.S
+++ b/ports/sysdeps/arm/__longjmp.S
@@ -41,14 +41,12 @@ ENTRY (__longjmp)
sfi_sp sfi_breg ip, \
ldmia \B!, JMP_BUF_REGLIST
#ifdef PTR_DEMANGLE
- PTR_DEMANGLE (fp, a4, a3, a2)
ldr a4, [ip], #4
- PTR_DEMANGLE2 (a4, a4, a3)
+ PTR_DEMANGLE (a4, a4, a3, a2)
mov sp, a4
ldr a4, [ip], #4
PTR_DEMANGLE2 (lr, a4, a3)
#else
- mov fp, a4
ldr sp, [ip], #4
ldr lr, [ip], #4
#endif