dwarf2out.c (output_comdat_type_unit): Check for OBJECT_FORMAT_ELF.

2012-11-06  Sterling Augustine <saugustine@google.com>

	* dwarf2out.c (output_comdat_type_unit): Check for OBJECT_FORMAT_ELF.



Co-Authored-By: Cary Coutant <ccoutant@google.com>

From-SVN: r193279
This commit is contained in:
Sterling Augustine 2012-11-07 01:18:28 +00:00 committed by Sterling Augustine
parent 0611ce440a
commit bdd1118890
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2012-11-06 Sterling Augustine <saugustine@google.com>
* dwarf2out.c (output_comdat_type_unit): Check for OBJECT_FORMAT_ELF.
2012-11-06 Aldy Hernandez <aldyh@redhat.com>
Richard Henderson <rth@redhat.com>
@ -47,7 +51,7 @@
(common_handle_option): Add case for OPT_gsplit_dwarf.
* dwarf2out.h (addr_table_entry_struct): Add forward declaration.
(dw_val_struct): Add val_entry pointer.
* dwarf2out.c: (debug_skeleton_info_section,
* dwarf2out.c (debug_skeleton_info_section,
debug_skeleton_abbrev_section, debug_addr_section,
debug_skeleton_line_section, debug_str_offsets_section): New globals.
(NOT_INDEXED, NO_INDEX_ASSIGNED): New defines.

View file

@ -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. */