r127627 - in /trunk/gcc: ChangeLog dwarf2out.c ...

jsm28@gcc.gnu.org jsm28@gcc.gnu.org
Sun Aug 19 23:07:00 GMT 2007


Author: jsm28
Date: Sun Aug 19 23:07:15 2007
New Revision: 127627

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127627
Log:
	* dwarf2out.c (text_section_used, cold_text_section_used,
	cold_text_section, dwarf2out_note_section_used): New.
	(dwarf2out_init): Initialize cold_text_section.
	(dwarf2out_switch_text_section, dwarf2out_begin_function): Call
	dwarf2out_note_section_used.
	(size_of_aranges): Only count entry for text section if it was
	used.  Count entry for cold text section if it was used.
	(output_aranges): Only output entries for text section and cold
	text section if they were used.

testsuite:
	* gcc.dg/debug/dwarf2/aranges-fnsec-1.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/debug/dwarf2/aranges-fnsec-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list