diff options
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/objdump.c | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index f040336..1156c15 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2005-04-19 H.J. Lu <hongjiu.lu@intel.com> + + * objdump.c (dump_section_header): Skip linker created section. + 2005-04-17 H.J. Lu <hongjiu.lu@intel.com> * objdump.c (dump_section_header): Support SEC_GROUP. diff --git a/binutils/objdump.c b/binutils/objdump.c index 575a141..52cd3d0 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -299,6 +299,11 @@ dump_section_header (bfd *abfd, asection *section, char *comma = ""; unsigned int opb = bfd_octets_per_byte (abfd); + /* Ignore linker created section. See elfNN_ia64_object_p in + bfd/elfxx-ia64.c. */ + if (section->flags & SEC_LINKER_CREATED) + return; + printf ("%3d %-13s %08lx ", section->index, bfd_get_section_name (abfd, section), (unsigned long) bfd_section_size (abfd, section) / opb); |