diff options
author | Nick Clifton <nickc@redhat.com> | 2004-10-01 12:59:42 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2004-10-01 12:59:42 +0000 |
commit | 40a18ebd3ae910042b4d7bf053a41c247db7cbc1 (patch) | |
tree | cd1e24028a8d52668bd1579632901934575f3d52 /include | |
parent | 14127cc4f2b98a818bef55c977eb3ea11b0ba5ce (diff) | |
download | gdb-40a18ebd3ae910042b4d7bf053a41c247db7cbc1.zip gdb-40a18ebd3ae910042b4d7bf053a41c247db7cbc1.tar.gz gdb-40a18ebd3ae910042b4d7bf053a41c247db7cbc1.tar.bz2 |
The patch below adds binutils support for the SHT_ARM_EXIDX, as defined by
the ARM EABI.
Diffstat (limited to 'include')
-rw-r--r-- | include/elf/ChangeLog | 7 | ||||
-rw-r--r-- | include/elf/arm.h | 11 |
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 */ |