diff options
author | Cary Coutant <ccoutant@google.com> | 2014-08-08 20:33:26 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@gcc.gnu.org> | 2014-08-08 13:33:26 -0700 |
commit | 4dd7c3b285daf030da0ff9c0d5e2f79b24943d1e (patch) | |
tree | a47e0373c2817eb387d22c840843694fabd422fc /libcpp | |
parent | a6b0c7bc4508a17fcd969080b9e721f4dcd5c305 (diff) | |
download | gcc-4dd7c3b285daf030da0ff9c0d5e2f79b24943d1e.zip gcc-4dd7c3b285daf030da0ff9c0d5e2f79b24943d1e.tar.gz gcc-4dd7c3b285daf030da0ff9c0d5e2f79b24943d1e.tar.bz2 |
Remove skeleton type units that were being produced with -gsplit-dwarf.
These sections were originally intended as targets for .gdb_index
entries that needed to point to type units. Because of the limitations
of the .debug_gnu_pubnames/pubtypes sections with split DWARF, we were
not able to pass along enough information to the gold linker to generate
those index entries properly, and they had to point to the CU instead.
GDB had to deal with that, and was updated a while ago to no longer
depend on the skeleton TU sections at all. This allows us to reduce
object file sizes with split DWARF by about 30%.
gcc/
* dwarf2out.c (get_skeleton_type_unit): Remove.
(output_skeleton_debug_sections): Remove skeleton type units.
(output_comdat_type_unit): Likewise.
(dwarf2out_finish): Likewise.
From-SVN: r213765
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions