diff options
author | Sterling Augustine <saugustine@google.com> | 2012-11-07 01:18:28 +0000 |
---|---|---|
committer | Sterling Augustine <saugustine@google.com> | 2012-11-07 01:18:28 +0000 |
commit | 186fdf255a9dd2e344944e71f3db5de5bbe93c78 (patch) | |
tree | e1ee6705b3b58be241274ba4e16c9c62f0537cde /gcc/dwarf2out.c | |
parent | 5f966abe64330f5cde331c271498f7c201113172 (diff) |
2012-11-06 Sterling Augustine <saugustine@google.com>
* dwarf2out.c (output_comdat_type_unit): Check for OBJECT_FORMAT_ELF.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@193279 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 2 |
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. */ |