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
On Thu, Feb 28, 2008 at 12:35 AM, Alan Modra <amodra@bigpond.net.au> wrote:
> 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.
>
Hi Alan,
I tried it on Linux/ia32, Linux/Intel64 and Linux/ia64. There are no
testsuite failures in binutils.
H.J.