[PATCH] lto: fix LTO debug sections copying.

Ian Lance Taylor iant@google.com
Mon Oct 5 16:34:05 GMT 2020


On Mon, Oct 5, 2020 at 9:09 AM Martin Liška <mliska@suse.cz> wrote:
>
> The previous patch was not correct. This one should be.
>
> Ready for master?

I don't understand why this code uses symtab_indices_shndx at all.
There should only be one SHT_SYMTAB_SHNDX section.  There shouldn't be
any need for the symtab_indices_shndx vector.

But in any case this patch looks OK.

Thanks.

Ian


More information about the Gcc-patches mailing list