aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-09-12 18:49:47 +0000
committerIan Lance Taylor <ian@airs.com>1999-09-12 18:49:47 +0000
commit8bea4d5c6c4db6966c987d18dd6362db56472eeb (patch)
tree85a8a1465541545b68091872931ce824082449b2 /binutils
parentdeecf979f60718abfe8476701cf3c871bc58ad13 (diff)
downloadgdb-8bea4d5c6c4db6966c987d18dd6362db56472eeb.zip
gdb-8bea4d5c6c4db6966c987d18dd6362db56472eeb.tar.gz
gdb-8bea4d5c6c4db6966c987d18dd6362db56472eeb.tar.bz2
1999-09-12 Donn Terry <donn@interix.com>
* objdump.c (dump_headers): If wide_output, print Flags header.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog2
-rw-r--r--binutils/objdump.c10
2 files changed, 10 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 78c0c07..1c4eab0 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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".
diff --git a/binutils/objdump.c b/binutils/objdump.c
index f51af3f..ba5c0d9 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -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);
}