r207703 - /branches/google/gcc-4_8/gcc/dwarf2out.c
ccoutant@gcc.gnu.org
ccoutant@gcc.gnu.org
Wed Feb 12 00:05:00 GMT 2014
Author: ccoutant
Date: Wed Feb 12 00:05:15 2014
New Revision: 207703
URL: http://gcc.gnu.org/viewcvs?rev=207703&root=gcc&view=rev
Log:
Remove DW_AT_GNU_addr_base from skeleton type unit DIEs.
GCC currently adds a DW_AT_GNU_addr_base attribute to skeleton type unit
DIEs, even though it's not needed there. By removing it, we can save
the 8 bytes that a DW_FORM_addr takes up, plus the 24 bytes that the
corresponding relocation takes.
This patch is for the google/gcc-4_8 branch. I will submit it
for trunk when stage 1 is open.
Tested with crosstool_validate.py.
2014-02-11 Cary Coutant <ccoutant@google.com>
* dwarf2out.c (add_top_level_skeleton_die_attrs): Don't add
DW_AT_GNU_addr_base to all skeleton DIEs.
(dwarf2out_finish): Add it only to the skeleton comp_unit DIE.
Modified:
branches/google/gcc-4_8/gcc/dwarf2out.c
More information about the Gcc-cvs
mailing list