[PATCH] ELF/LD: Avoid producing hidden and internal dynamic symbols

Alan Modra amodra@gmail.com
Tue Apr 5 01:00:00 GMT 2016


On Mon, Apr 04, 2016 at 05:49:00PM +0100, Maciej W. Rozycki wrote:
> 	bfd/
> 	PR ld/19908
> 	* elflink.c (elf_link_add_object_symbols): Always turn hidden
> 	and internal symbols which have a dynamic index into local
> 	ones.
> 
> 	ld/testsuite/
> 	PR ld/19908
> 	* ld-cris/tls-e-20.d: Adjust for hidden symbol handling fix.
> 	* ld-cris/tls-e-20a.d: Likewise.
> 	* ld-cris/tls-e-21.d: Likewise.
> 	* ld-cris/tls-e-23.d: Likewise.
> 	* ld-cris/tls-e-80.d: Likewise.
> 	* ld-cris/tls-gd-3h.d: Likewise.
> 	* ld-cris/tls-leie-19.d: Likewise.
> 	* ld-mips-elf/export-class-ref-lib.sd: New test.
> 	* ld-mips-elf/export-hidden-ref.sd: New test.
> 	* ld-mips-elf/export-internal-ref.sd: New test.
> 	* ld-mips-elf/export-protected-ref.sd: New test.
> 	* ld-mips-elf/export-class-ref-f0.s: New test source.
> 	* ld-mips-elf/export-class-ref-f1.s: New test source.
> 	* ld-mips-elf/export-class-ref-f2.s: New test source.
> 	* ld-mips-elf/mips-elf.exp: Run the new tests.

OK.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list