Re: [Dwarf patch] Refactor logic to decide if a pubname should be output.

2013-07-25 Thread Cary Coutant
> gcc/ChangeLog > 013-07-25 Sterling Augustine > > * dwarf2out.c (size_of_pubnames): Move code to... > (include_pubname_in_output): ...here. New. > (want_pubnames): Rearrange. > (output_pubnames): Call include_pubname_in_output. Move assertion. This is OK. Thanks! -cary

[Dwarf patch] Refactor logic to decide if a pubname should be output.

2013-07-25 Thread Sterling Augustine
The enclosed patch refactors the logic that decides if a pubname belongs in the output, taking into account type pruning in the presence of debug types. When the logic was separate, it didn't always agree, creating issues with the size output to the object file. Older editions of Gold didn't use t