[PATCH] Ignore dynamic references on forced local symbols

Alan Modra amodra@gmail.com
Thu Jan 11 23:31:00 GMT 2018


On Thu, Jan 11, 2018 at 01:31:42PM -0800, H.J. Lu wrote:
> bfd/
> 
> 	PR ld/22649
> 	* elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Ignore dynamic
> 	references on forced local symbols.
> 
> ld/
> 
> 	PR ld/22649
> 	* testsuite/ld-elf/pr22649-1.s: New file.
> 	* testsuite/ld-elf/pr22649-2a.s: Likewise.
> 	* testsuite/ld-elf/pr22649-2b.s: Likewise.
> 	* testsuite/ld-elf/pr22649.msg: Likewise.
> 	* testsuite/ld-elf/shared.exp: Run ld/22649 tests.

OK.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list