summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorsterling <sterling@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-07 01:18:28 +0000
committersterling <sterling@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-07 01:18:28 +0000
commitb54a6018bb0750a374ec85b0b8e01120fefc61e5 (patch)
treee1ee6705b3b58be241274ba4e16c9c62f0537cde /gcc/dwarf2out.c
parent2c09be36fe9c507b6b28b91aa205bbd6e4813aa6 (diff)
downloadgcc-b54a6018bb0750a374ec85b0b8e01120fefc61e5.tar.gz
2012-11-06 Sterling Augustine <saugustine@google.com>
* dwarf2out.c (output_comdat_type_unit): Check for OBJECT_FORMAT_ELF. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193279 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 310f2dd5373..7dd1f24b767 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -8829,6 +8829,7 @@ output_comdat_type_unit (comdat_type_node *node)
unmark_dies (node->root_die);
+#if defined (OBJECT_FORMAT_ELF)
if (dwarf_split_debug_info)
{
/* Produce the skeleton type-unit header. */
@@ -8858,6 +8859,7 @@ output_comdat_type_unit (comdat_type_node *node)
output_die (get_skeleton_type_unit ());
}
+#endif
}
/* Return the DWARF2/3 pubname associated with a decl. */