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:
parent
0611ce440a
commit
bdd1118890
2 changed files with 7 additions and 1 deletions
|
@ -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>
|
2012-11-06 Aldy Hernandez <aldyh@redhat.com>
|
||||||
Richard Henderson <rth@redhat.com>
|
Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
|
||||||
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)
|
||||||
|
|
||||||
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. */
|
||||||
|
|
Loading…
Add table
Reference in a new issue