2005-04-19 H.J. Lu <hongjiu.lu@intel.com>
* objdump.c (dump_section_header): Skip linker created section.
This commit is contained in:
parent
22b75d0ae6
commit
3bee8bcdbf
2 changed files with 9 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue