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 /binutils | |
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 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/readelf.c | 11 |
2 files changed, 10 insertions, 6 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 8f61f3e..ff1ff25 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2009-08-10 Daniel Gutson <dgutson@codesourcery.com> + + * readelf.c (get_arm_section_type_name): Added support for + new sections headers. + 2009-08-03 H.J. Lu <hongjiu.lu@intel.com> PR binutils/10364 diff --git a/binutils/readelf.c b/binutils/readelf.c index 9e8f48f..f9cab0c 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -2726,12 +2726,11 @@ get_arm_section_type_name (unsigned int sh_type) { switch (sh_type) { - case SHT_ARM_EXIDX: - return "ARM_EXIDX"; - case SHT_ARM_PREEMPTMAP: - return "ARM_PREEMPTMAP"; - case SHT_ARM_ATTRIBUTES: - return "ARM_ATTRIBUTES"; + case SHT_ARM_EXIDX: return "ARM_EXIDX"; + case SHT_ARM_PREEMPTMAP: return "ARM_PREEMPTMAP"; + case SHT_ARM_ATTRIBUTES: return "ARM_ATTRIBUTES"; + case SHT_ARM_DEBUGOVERLAY: return "ARM_DEBUGOVERLAY"; + case SHT_ARM_OVERLAYSECTION: return "ARM_OVERLAYSECTION"; default: break; } |