diff options
author | Nick Clifton <nickc@redhat.com> | 2004-10-01 12:59:35 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2004-10-01 12:59:35 +0000 |
commit | 1e804b7425b79e2ec2e24e35599849ac159c0514 (patch) | |
tree | e88e9e01b2ffb7b4bd54005b0e38f02d46c27e63 /include/elf/arm.h | |
parent | 5bc90268ce5aa46de95b352971640662e004817b (diff) | |
download | cygnal-1e804b7425b79e2ec2e24e35599849ac159c0514.tar.gz cygnal-1e804b7425b79e2ec2e24e35599849ac159c0514.tar.bz2 cygnal-1e804b7425b79e2ec2e24e35599849ac159c0514.zip |
The patch below adds binutils support for the SHT_ARM_EXIDX, as defined by
the ARM EABI.
Diffstat (limited to 'include/elf/arm.h')
-rw-r--r-- | include/elf/arm.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/elf/arm.h b/include/elf/arm.h index 05ba3464f..7b8030823 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 */ |