re PR debug/49364 ([4.7 regressions] Empty .debug_abbrev sections confuse SGI nm)
authorJakub Jelinek <jakub@redhat.com>
Thu, 30 Jun 2011 10:26:32 +0000 (12:26 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 30 Jun 2011 10:26:32 +0000 (12:26 +0200)
commitf60f32b35695eb05d36b83a78f26b833ccb04edf
tree33398703c3294a751e71d179a4961f2fb961ef07
parent21ea4922aceb3ffa50c3d00b8d26da6b41af92cf
re PR debug/49364 ([4.7 regressions] Empty .debug_abbrev sections confuse SGI nm)

PR debug/49364
* dwarf2out.c (output_abbrev_section): Don't return early
if abbrev_die_table_in_use is 1.
(dwarf2out_finish): Instead don't call output_abbrev_section
nor emit abbrev_section_label in that case.

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