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 78c0c07..1c4eab0 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 f51af3f..ba5c0d9 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