diff options
author | Nick Clifton <nickc@redhat.com> | 2009-08-10 14:56:34 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-08-10 14:56:34 +0000 |
commit | 7f6fed8735705879ad514beb15101d2b990047dd (patch) | |
tree | c43b98b1946c2efc9b6515074b17054e66b8c1f2 /include/elf | |
parent | 539d439185fe7b1c73e17d896632d1d964c10e48 (diff) | |
download | gdb-7f6fed8735705879ad514beb15101d2b990047dd.zip gdb-7f6fed8735705879ad514beb15101d2b990047dd.tar.gz gdb-7f6fed8735705879ad514beb15101d2b990047dd.tar.bz2 |
* readelf.c (get_arm_section_type_name): Added support for
new sections headers.
* arm.h: (SHT_ARM_DEBUGOVERLAY): New define.
(SHT_ARM_OVERLAYSECTION): New define.
Diffstat (limited to 'include/elf')
-rw-r--r-- | include/elf/ChangeLog | 5 | ||||
-rw-r--r-- | include/elf/arm.h | 16 |
2 files changed, 14 insertions, 7 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 3ff097a..b7df2ac 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,8 @@ +2009-08-10 Daniel Gutson <dgutson@codesourcery.com> + + * arm.h: (SHT_ARM_DEBUGOVERLAY): New define. + (SHT_ARM_OVERLAYSECTION): New define. + 2006-08-09 Bernd Schmidt <bernd.schmidt@analog.com> From Mike Frysinger <michael.frysinger@analog.com> diff --git a/include/elf/arm.h b/include/elf/arm.h index ed8a26e..61328c3 100644 --- a/include/elf/arm.h +++ b/include/elf/arm.h @@ -1,5 +1,5 @@ /* ARM ELF support for BFD. - Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004 + Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -41,9 +41,9 @@ #define PT_ARM_EXIDX (PT_LOPROC + 1) /* Other constants defined in the ARM ELF spec. version B-01. */ -#define EF_ARM_SYMSARESORTED 0x04 /* NB conflicts with EF_INTERWORK */ -#define EF_ARM_DYNSYMSUSESEGIDX 0x08 /* NB conflicts with EF_APCS26 */ -#define EF_ARM_MAPSYMSFIRST 0x10 /* NB conflicts with EF_APCS_FLOAT */ +#define EF_ARM_SYMSARESORTED 0x04 /* NB conflicts with EF_INTERWORK. */ +#define EF_ARM_DYNSYMSUSESEGIDX 0x08 /* NB conflicts with EF_APCS26. */ +#define EF_ARM_MAPSYMSFIRST 0x10 /* NB conflicts with EF_APCS_FLOAT. */ #define EF_ARM_EABIMASK 0xFF000000 /* Constants defined in AAELF. */ @@ -71,9 +71,11 @@ #define STT_ARM_16BIT STT_HIPROC /* A Thumb label. */ /* Additional section types. */ -#define SHT_ARM_EXIDX 0x70000001 /* Section holds ARM unwind info. */ -#define SHT_ARM_PREEMPTMAP 0x70000002 /* Section pre-emption details. */ -#define SHT_ARM_ATTRIBUTES 0x70000003 /* Section holds attributes. */ +#define SHT_ARM_EXIDX 0x70000001 /* Section holds ARM unwind info. */ +#define SHT_ARM_PREEMPTMAP 0x70000002 /* Section pre-emption details. */ +#define SHT_ARM_ATTRIBUTES 0x70000003 /* Section holds attributes. */ +#define SHT_ARM_DEBUGOVERLAY 0x70000004 /* Section holds overlay debug info. */ +#define SHT_ARM_OVERLAYSECTION 0x70000005 /* Section holds GDB and overlay integration info. */ /* ARM-specific values for sh_flags. */ #define SHF_ENTRYSECT 0x10000000 /* Section contains an entry point. */ |