aboutsummaryrefslogtreecommitdiff
path: root/binutils/objdump.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-09-12 18:39:32 +0000
committerIan Lance Taylor <ian@airs.com>1999-09-12 18:39:32 +0000
commitdeecf979f60718abfe8476701cf3c871bc58ad13 (patch)
tree90b54f52c52a9cbb2c4d2bc9ad6ce77dbe698ac1 /binutils/objdump.c
parent3994e2c66d792e3ea0f48d1cf039a022a62960bb (diff)
downloadgdb-deecf979f60718abfe8476701cf3c871bc58ad13.zip
gdb-deecf979f60718abfe8476701cf3c871bc58ad13.tar.gz
gdb-deecf979f60718abfe8476701cf3c871bc58ad13.tar.bz2
1999-09-12 Donn Terry <donn@interix.com>
* objdump.c (dump_section_header): Print any comdat information.
Diffstat (limited to 'binutils/objdump.c')
-rw-r--r--binutils/objdump.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c
index 5b36ae2..f51af3f 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 = ", ";
}