Commit 9f82de11 by Eric Botcazou

re PR debug/46704 (Ada compiler fails to build itself)

	PR debug/46704
	* dwarf2out.c (dwarf2out_finish): Output the debug_aranges section
	only when it is not empty.

From-SVN: r168557
parent 14b52538
2011-01-06 Changpeng Fang <changpeng.fang@amd.com>
2011-01-06 Eric Botcazou <ebotcazou@adacore.com>
PR debug/46704
* dwarf2out.c (dwarf2out_finish): Output the debug_aranges section
only when it is not empty.
2011-01-06 Changpeng Fang <changpeng.fang@amd.com>
Bobcat (btver1) Enablement
* config.gcc (i[34567]86-*-linux* | ...): Add btver1.
......
......@@ -23324,7 +23324,7 @@ dwarf2out_finish (const char *filename)
/* Output the address range information. We only put functions in the arange
table, so don't write it out if we don't have any. */
if (fde_table_in_use)
if (arange_table_in_use)
{
switch_to_section (debug_aranges_section);
output_aranges ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment