[PATCH] ld/elf: Ignore section symbols when matching linkonce with comdat

Alan Modra amodra@gmail.com
Mon Jan 18 03:53:51 GMT 2021


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.

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list