PATCH: PR ld/5789: Linker doesn't check weak and hidden symbols

Alan Modra amodra@bigpond.net.au
Thu Feb 28 08:35:00 GMT 2008


On Sat, Feb 23, 2008 at 04:11:11PM -0800, H.J. Lu wrote:
> 	PR ld/5789
> 	* elflink.c (_bfd_elf_symbol_refs_local_p): Always return true
> 	for hidden and local symbols.

HJ, I think this part of your change is correct, but it breaks the ld
visibility tests.  Which means the tests are wrong and need fixing
too.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list