This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Ignore dynamic references on forced local symbols
On Fri, Jan 12, 2018 at 09:32:44AM +0100, Christophe Lyon wrote:
> Hi,
>
> On 12 January 2018 at 00:30, Alan Modra <amodra@gmail.com> wrote:
> > On Thu, Jan 11, 2018 at 01:31:42PM -0800, H.J. Lu wrote:
> >> bfd/
> >>
> >> PR ld/22649
> >> * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Ignore dynamic
> >> references on forced local symbols.
> >>
> >> ld/
> >>
> >> PR ld/22649
> >> * testsuite/ld-elf/pr22649-1.s: New file.
> >> * testsuite/ld-elf/pr22649-2a.s: Likewise.
> >> * testsuite/ld-elf/pr22649-2b.s: Likewise.
> >> * testsuite/ld-elf/pr22649.msg: Likewise.
> >> * testsuite/ld-elf/shared.exp: Run ld/22649 tests.
> >
> > OK.
> >
>
> I've noticed that 2 of the new tests fail:
> FAIL: ld:Build pr22649-2a.so
> FAIL: ld:Build pr22649-2b.so
>
> on arm*linux* and arm-none-nacl targets
>
> Can you check?
I have a patch to fix this under test at the moment.
--
Alan Modra
Australia Development Lab, IBM