From: Ian Lance Taylor Date: Sun, 12 Sep 1999 18:39:32 +0000 (+0000) Subject: 1999-09-12 Donn Terry X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=deecf979f60718abfe8476701cf3c871bc58ad13;p=binutils-gdb.git 1999-09-12 Donn Terry * objdump.c (dump_section_header): Print any comdat information. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 8010b8375ba..78c0c071fe3 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,7 @@ 1999-09-12 Donn Terry + * objdump.c (dump_section_header): Print any comdat information. + * objcopy.c (parse_flags): Handle "noload", "debug", and "share". * binutils.texi, objcopy.1: Document new flags. diff --git a/binutils/objdump.c b/binutils/objdump.c index 5b36ae224a8..f51af3f725d 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -368,6 +368,11 @@ dump_section_header (abfd, section, ignored) break; } printf ("%s%s", comma, ls); + + if (section->comdat != NULL) + printf (" (COMDAT %s %ld)", section->comdat->name, + section->comdat->symbol); + comma = ", "; }