This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] PR ld/20828: Fix linker script symbols wrongly forced local with section GC
- From: "Maciej W. Rozycki" <macro at imgtec dot com>
- To: Alan Modra <amodra at gmail dot com>
- Cc: Tristan Gingold <gingold at adacore dot com>, James Cowgill <James dot Cowgill at imgtec dot com>, <binutils at sourceware dot org>, Jie Zhang <jzhang918 at gmail dot com>, Mike Frysinger <vapier at gentoo dot org>, Eric Christopher <echristo at gmail dot com>, Alexandre Oliva <aoliva at redhat dot com>, Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- Date: Wed, 18 Jan 2017 18:55:50 +0000
- Subject: Re: [PATCH] PR ld/20828: Fix linker script symbols wrongly forced local with section GC
- Authentication-results: sourceware.org; auth=none
- References: <alpine.DEB.2.00.1701161630120.6936@tp.orcam.me.uk> <20170116225942.GH32333@bubble.grove.modra.org>
On Mon, 16 Jan 2017, Alan Modra wrote:
> > bfd/
> > PR ld/20828
> > * elflink.c (bfd_elf_record_link_assignment): Clear any
> > `forced_local' marking for DSO symbols that are not being
> > provided.
> >
> > ld/
> > PR ld/20828
> > * testsuite/ld-elf/pr20828-1.sd: New test.
> > * testsuite/ld-elf/pr20828-2a.sd: New test.
> > * testsuite/ld-elf/pr20828-2b.sd: New test.
> > * testsuite/ld-elf/pr20828.ld: New test linker script.
> > * testsuite/ld-elf/pr20828.ver: New test version script.
> > * testsuite/ld-elf/pr20828.s: New test source.
> > * testsuite/ld-elf/shared.exp: Run the new test.
>
> OK. Should go on the branch too.
Committed and backported. Thanks for your review.
Maciej