re PR debug/42454 (debug_ranges table contains empty range for unused .text section...
authorCary Coutant <ccoutant@google.com>
Tue, 22 Dec 2009 17:37:57 +0000 (17:37 +0000)
committerCary Coutant <ccoutant@gcc.gnu.org>
Tue, 22 Dec 2009 17:37:57 +0000 (09:37 -0800)
commit6e922f17ac29f0128968813d4a76be598c288fe3
tree8b8eda15225f727375f702aed13a86f05c1b52d2
parent56c511556722e73073c1626ef7e3822b13a80351
re PR debug/42454 (debug_ranges table contains empty range for unused .text section with -ffunction-sections)

PR debug/42454
* dwarf2out.c (dwarf2out_finish): Don't output range for .text
section unless .text section was used.  Likewise for cold.

From-SVN: r155402
gcc/ChangeLog
gcc/dwarf2out.c