1999-09-12 Donn Terry <donn@interix.com>

* objdump.c (dump_section_header): Print any comdat information.
This commit is contained in:
Ian Lance Taylor 1999-09-12 18:39:32 +00:00
parent 3994e2c66d
commit deecf979f6
2 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,7 @@
1999-09-12 Donn Terry <donn@interix.com>
* 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.

View File

@ -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 = ", ";
}