aboutsummaryrefslogtreecommitdiff
path: root/binutils/objdump.c
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/objdump.c
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/objdump.c')
-rw-r--r--binutils/objdump.c10
1 files changed, 8 insertions, 2 deletions
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);
}