2016-09-26 Richard Biener <rguenther@suse.de>
commita8d09781ee8c8e0020fac0fbdb15669710fea4b4
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Sep 2016 08:31:37 +0000 (26 08:31 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Sep 2016 08:31:37 +0000 (26 08:31 +0000)
tree0011934a5af1720156f7dfe9eec2a5735540b3e5
parent3de0cb5e5679e379e3ae56e58b8aa6f17eb25304
2016-09-26  Richard Biener  <rguenther@suse.de>

* dwarf2out.c (stripattributes): Remove unused function.
(DEBUG_NORM_MACINFO_SECTION): Rename to DEBUG_MACINFO_SECTION.
Push dwarf_split_debug_info handling into init_sections_and_labels.
(DEBUG_NORM_MACRO_SECTION): Likewise to DEBUG_MACRO_SECTION.
(DEBUG_MACRO_SECTION_FLAGS): Remove.
(debug_macinfo_section_name): New global.
(output_macinfo): Use debug_macinfo_section_name.
(init_sections_and_labels): Split out section and label generation
from dwarf2out_init.  Set debug_macinfo_section_name.
(dwarf2out_init): Move text section label generation and emission
to ...
(dwarf2out_assembly_start): ... here.
(dwarf2out_finish): Call init_sections_and_labels before DWARF
output starts.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240484 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/dwarf2out.c