aboutsummaryrefslogtreecommitdiff
path: root/ports/sysdeps/arm/__longjmp.S
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2013-03-11 16:45:25 -0700
committerRoland McGrath <roland@hack.frob.com>2013-03-11 16:45:25 -0700
commit7f86996afc72481789c01ccc392e542d3318ddc0 (patch)
tree82b78a30259bf5f339b907cfe884bc2bf06601fc /ports/sysdeps/arm/__longjmp.S
parent38435a9aff78b013067d1cccf7b9822af6e28cfb (diff)
downloadglibc-7f86996afc72481789c01ccc392e542d3318ddc0.tar
glibc-7f86996afc72481789c01ccc392e542d3318ddc0.tar.gz
glibc-7f86996afc72481789c01ccc392e542d3318ddc0.tar.bz2
glibc-7f86996afc72481789c01ccc392e542d3318ddc0.zip
ARM: Consolidate setjmp details in include/bits/setjmp.h file.
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 1d5d56bde6..becba930a0 100644
--- a/ports/sysdeps/arm/__longjmp.S
+++ b/ports/sysdeps/arm/__longjmp.S
@@ -19,8 +19,6 @@
/* ??? Needs more rearrangement for the LDM to handle thumb mode. */
#define NO_THUMB
#include <sysdep.h>
-#define _SETJMP_H
-#define _ASM
#include <bits/setjmp.h>
#include <rtld-global-offsets.h>
#include <arm-features.h>
@@ -37,7 +35,7 @@ ENTRY (__longjmp)
cfi_undefined (r4)
CHECK_SP (r4)
#endif
- ldmia ip!, {v1-v6, sl, fp, sp, lr}
+ ldmia ip!, JMP_BUF_REGLIST
cfi_restore (v1)
cfi_restore (v2)
cfi_restore (v3)