This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: PR ld/5789: Linker doesn't check weak and hidden symbols
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 28 Feb 2008 19:05:28 +1030
- Subject: Re: PATCH: PR ld/5789: Linker doesn't check weak and hidden symbols
- References: <20080224001111.GA5967@lucon.org>
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