2005-04-19 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 19 Apr 2005 21:29:46 +0000 (21:29 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 19 Apr 2005 21:29:46 +0000 (21:29 +0000)
* objdump.c (dump_section_header): Skip linker created section.

binutils/ChangeLog
binutils/objdump.c

index f0403366cf4bea0f6b0c41f66d4dde9a38efe50a..1156c158fd0dc31bf9b0d20b8b923906ac37a35b 100644 (file)
@@ -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.
index 575a1416106efe68e656012f469a7005d12e0071..52cd3d005cc051ffd1e2a53156dcea60f1955a56 100644 (file)
@@ -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);
This page took 0.028865 seconds and 4 git commands to generate.