PR debug/46704
* dwarf2out.c (dwarf2out_finish): Output the debug_aranges section
only when it is not empty.
From-SVN: r168557
-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.
/* 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 ();