1999-09-12 Donn Terry <donn@interix.com>
authorIan Lance Taylor <ian@airs.com>
Sun, 12 Sep 1999 18:49:47 +0000 (18:49 +0000)
committerIan Lance Taylor <ian@airs.com>
Sun, 12 Sep 1999 18:49:47 +0000 (18:49 +0000)
* objdump.c (dump_headers): If wide_output, print Flags header.

binutils/ChangeLog
binutils/objdump.c

index 78c0c071fe31a106a747aa79a5317f208a2109e7..1c4eab0e258e85df9acb04278e25527e4cfb8899 100644 (file)
@@ -1,5 +1,7 @@
 1999-09-12  Donn Terry  <donn@interix.com>
 
+       * objdump.c (dump_headers): If wide_output, print Flags header.
+
        * objdump.c (dump_section_header): Print any comdat information.
 
        * objcopy.c (parse_flags): Handle "noload", "debug", and "share".
index f51af3f725ddf969e27a22af71d2592f1639250c..ba5c0d928ddcca1f4ecdcb991461fdaadf2b5eee 100644 (file)
@@ -385,11 +385,17 @@ dump_headers (abfd)
      bfd *abfd;
 {
   printf (_("Sections:\n"));
+
 #ifndef BFD64
-  printf (_("Idx Name          Size      VMA       LMA       File off  Algn\n"));
+  printf (_("Idx Name          Size      VMA       LMA       File off  Algn"));
 #else
-  printf (_("Idx Name          Size      VMA               LMA               File off  Algn\n"));
+  printf (_("Idx Name          Size      VMA               LMA               File off  Algn"));
 #endif
+
+  if (wide_output)
+    printf (_("  Flags"));
+  printf ("\n");
+
   bfd_map_over_sections (abfd, dump_section_header, (PTR) NULL);
 }
 \f