This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I checked a objdump patch to support SEC_GROUP. Should objdump skip linker created section? Readelf doesn't display it. H.J. ---- 2005-04-17 H.J. Lu <hongjiu.lu@intel.com> * objdump.c (dump_section_header): Skip linker created section. --- binutils/objdump.c.grp 2005-04-04 09:58:38.000000000 -0700 +++ binutils/objdump.c 2005-04-17 07:27:08.000000000 -0700 @@ -300,6 +300,11 @@ dump_section_header (bfd *abfd, asection 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);
Attachment:
binutils-group-1.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |