diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-09-12 18:49:47 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-09-12 18:49:47 +0000 |
commit | 8bea4d5c6c4db6966c987d18dd6362db56472eeb (patch) | |
tree | 85a8a1465541545b68091872931ce824082449b2 /binutils/objdump.c | |
parent | deecf979f60718abfe8476701cf3c871bc58ad13 (diff) | |
download | gdb-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.c | 10 |
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); } |