From 8bea4d5c6c4db6966c987d18dd6362db56472eeb Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sun, 12 Sep 1999 18:49:47 +0000 Subject: [PATCH] 1999-09-12 Donn Terry * objdump.c (dump_headers): If wide_output, print Flags header. --- binutils/ChangeLog | 2 ++ binutils/objdump.c | 10 ++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) 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); } -- 2.30.2