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

H.J. Lu hjl.tools@gmail.com
Thu Feb 28 15:11:00 GMT 2008


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.



More information about the Binutils mailing list