aboutsummaryrefslogtreecommitdiff
path: root/binutils/objdump.c
diff options
context:
space:
mode:
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 = ", ";
}