Re: [RFA] Work around binutils/15021

Jan Kratochvil
2013-06-12T18:16:29Z

On Wed, 12 Jun 2013 01:39:43 +0200, Doug Evans wrote:
> The gold "bug" is that, when using pubnames(/pubtypes) to generate the
> index, gold doesn't have sufficient info to generate as "accurate" a
> .gdb_index ("accurate" as in: the CU will have a DW_AT_GNU_pubtypes
> attribute when it would be better if the TU had that attribute).
> If those sections are missing then gold falls back to reading all the
> debug info and using that to generate the index, and when it does that
> it can generate a better index, and I'm guessing that's what you're
> seeing.

I get the same .gdb_index content from gold even when I use -gpubnames.

> There is no change in the file format or semantics between 7 and 8, so
> no change should be needed for dwz.

But I am fine enough with this reply.

Thanks!
Jan