From: Ian Lance Taylor Date: Sun, 12 Sep 1999 18:49:47 +0000 (+0000) Subject: 1999-09-12 Donn Terry X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8bea4d5c6c4db6966c987d18dd6362db56472eeb;p=binutils-gdb.git 1999-09-12 Donn Terry * objdump.c (dump_headers): If wide_output, print Flags header. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 78c0c071fe3..1c4eab0e258 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,7 @@ 1999-09-12 Donn Terry + * 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 f51af3f725d..ba5c0d928dd 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); }