diff options
author | Joseph Myers <joseph@codesourcery.com> | 2007-08-20 00:07:15 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2007-08-20 00:07:15 +0100 |
commit | 9e9f8522652b0c63b552197bc6719fa27b106f74 (patch) | |
tree | 245aeeb475ad0d8a9a6b234bd130067c1e1a38ed /gcc/tree-ssa-structalias.c | |
parent | e9c06563626f034b29c8ccb35b01632a3fede753 (diff) | |
download | gcc-9e9f8522652b0c63b552197bc6719fa27b106f74.zip gcc-9e9f8522652b0c63b552197bc6719fa27b106f74.tar.gz gcc-9e9f8522652b0c63b552197bc6719fa27b106f74.tar.bz2 |
dwarf2out.c (text_section_used, [...]): New.
* 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.
From-SVN: r127627
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
0 files changed, 0 insertions, 0 deletions