aboutsummaryrefslogtreecommitdiff
path: root/include/elf
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-10-01 12:59:35 +0000
committerNick Clifton <nickc@redhat.com>2004-10-01 12:59:35 +0000
commit1e804b7425b79e2ec2e24e35599849ac159c0514 (patch)
treee88e9e01b2ffb7b4bd54005b0e38f02d46c27e63 /include/elf
parent5bc90268ce5aa46de95b352971640662e004817b (diff)
downloadnewlib-1e804b7425b79e2ec2e24e35599849ac159c0514.zip
newlib-1e804b7425b79e2ec2e24e35599849ac159c0514.tar.gz
newlib-1e804b7425b79e2ec2e24e35599849ac159c0514.tar.bz2
The patch below adds binutils support for the SHT_ARM_EXIDX, as defined by
the ARM EABI.
Diffstat (limited to 'include/elf')
-rw-r--r--include/elf/ChangeLog7
-rw-r--r--include/elf/arm.h11
2 files changed, 17 insertions, 1 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 6b0cf0d..300181f 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,10 @@
+2004-10-01 Paul Brook <paul@codesourcery.com>
+
+ * arm.h (SHT_ARM_EXIDX): Define.
+ (ELF_STRING_ARM_unwind, ELF_STRING_ARM_unwind,
+ ELF_STRING_ARM_unwind_once, ELF_STRING_ARM_unwind_info_once):
+ Define.
+
2004-08-25 Dmitry Diky <diwil@spec.ru>
* msp430.h: Add new relocs.
diff --git a/include/elf/arm.h b/include/elf/arm.h
index 05ba346..7b80308 100644
--- a/include/elf/arm.h
+++ b/include/elf/arm.h
@@ -64,6 +64,9 @@
#define STT_ARM_TFUNC STT_LOPROC /* A Thumb function. */
#define STT_ARM_16BIT STT_HIPROC /* A Thumb label. */
+/* Additional section types. */
+#define SHT_ARM_EXIDX 0x70000001 /* Section holds ARM unwind info. */
+
/* ARM-specific values for sh_flags. */
#define SHF_ENTRYSECT 0x10000000 /* Section contains an entry point. */
#define SHF_COMDEF 0x80000000 /* Section may be multiply defined in the input to a link step. */
@@ -157,5 +160,11 @@ END_RELOC_NUMBERS (R_ARM_max)
/* The name of the note section used to identify arm variants. */
#define ARM_NOTE_SECTION ".note.gnu.arm.ident"
-
+
+/* Special section names. */
+#define ELF_STRING_ARM_unwind ".ARM.exidx"
+#define ELF_STRING_ARM_unwind_info ".ARM.extab"
+#define ELF_STRING_ARM_unwind_once ".gnu.linkonce.armexidx."
+#define ELF_STRING_ARM_unwind_info_once ".gnu.linkonce.armextab."
+
#endif /* _ELF_ARM_H */