summaryrefslogtreecommitdiff
path: root/ports/sysdeps/arm/include/bits/setjmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/sysdeps/arm/include/bits/setjmp.h')
-rw-r--r--ports/sysdeps/arm/include/bits/setjmp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ports/sysdeps/arm/include/bits/setjmp.h b/ports/sysdeps/arm/include/bits/setjmp.h
index 1559d7b8e6..64505dcb94 100644
--- a/ports/sysdeps/arm/include/bits/setjmp.h
+++ b/ports/sysdeps/arm/include/bits/setjmp.h
@@ -26,8 +26,9 @@
#ifndef _ISOMAC
/* Register list for a ldm/stm instruction to load/store
- the general registers from a __jmp_buf. */
-# define JMP_BUF_REGLIST {v1-v6, sl, fp, sp, lr}
+ the general registers from a __jmp_buf. The a4 register
+ contains fp at this point. */
+# define JMP_BUF_REGLIST {a4, v1-v6, sl}
/* Index of __jmp_buf where the sp register resides. */
# define __JMP_BUF_SP 8