[PATCH] ld/elf: Ignore section symbols when matching linkonce with comdat
H.J. Lu
hjl.tools@gmail.com
Mon Jan 18 04:03:56 GMT 2021
On Sun, Jan 17, 2021 at 7:53 PM Alan Modra <amodra@gmail.com> wrote:
>
> On Sat, Jan 16, 2021 at 03:51:24PM -0800, H.J. Lu wrote:
> > bfd/
> >
> > PR ld/27193
> > * elflink.c (elf_create_symbuf): Also ignore section symbols.
> >
> > ld/
> >
> > PR ld/27193
> > * testsuite/ld-i386/i386.exp: Run PR ld/27193 test.
> > * testsuite/ld-i386/pr27193.dd: New file.
> > * testsuite/ld-i386/pr27193a.o.bz2: Likewise.
> > * testsuite/ld-i386/pr27193b.s: Likewise.
>
> OK. I do think it would have been better to wait until 2.35 branched
> before "ELF: Don't generate unused section symbols" was committed.
>
True. Timing isn't great. Here is another patch for master and 2.36 branch:
https://sourceware.org/pipermail/binutils/2021-January/114980.html
--
H.J.
More information about the Binutils
mailing list