Commit bdd11188 by Sterling Augustine Committed by Sterling Augustine

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
parent 0611ce44
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> 2012-11-06 Aldy Hernandez <aldyh@redhat.com>
Richard Henderson <rth@redhat.com> Richard Henderson <rth@redhat.com>
...@@ -47,7 +51,7 @@ ...@@ -47,7 +51,7 @@
(common_handle_option): Add case for OPT_gsplit_dwarf. (common_handle_option): Add case for OPT_gsplit_dwarf.
* dwarf2out.h (addr_table_entry_struct): Add forward declaration. * dwarf2out.h (addr_table_entry_struct): Add forward declaration.
(dw_val_struct): Add val_entry pointer. (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_abbrev_section, debug_addr_section,
debug_skeleton_line_section, debug_str_offsets_section): New globals. debug_skeleton_line_section, debug_str_offsets_section): New globals.
(NOT_INDEXED, NO_INDEX_ASSIGNED): New defines. (NOT_INDEXED, NO_INDEX_ASSIGNED): New defines.
...@@ -8829,6 +8829,7 @@ output_comdat_type_unit (comdat_type_node *node) ...@@ -8829,6 +8829,7 @@ output_comdat_type_unit (comdat_type_node *node)
unmark_dies (node->root_die); unmark_dies (node->root_die);
#if defined (OBJECT_FORMAT_ELF)
if (dwarf_split_debug_info) if (dwarf_split_debug_info)
{ {
/* Produce the skeleton type-unit header. */ /* Produce the skeleton type-unit header. */
...@@ -8858,6 +8859,7 @@ output_comdat_type_unit (comdat_type_node *node) ...@@ -8858,6 +8859,7 @@ output_comdat_type_unit (comdat_type_node *node)
output_die (get_skeleton_type_unit ()); output_die (get_skeleton_type_unit ());
} }
#endif
} }
/* Return the DWARF2/3 pubname associated with a decl. */ /* Return the DWARF2/3 pubname associated with a decl. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment