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: Alan Modra <amodra at gmail dot com>
- To: "Maciej W. Rozycki" <macro at imgtec 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>, Bernd Schmidt <bernd dot schmidt at analog dot com>, Mike Frysinger <vapier at gentoo dot org>, Eric Christopher <echristo at gmail dot com>, Alexandre Oliva <aoliva at redhat dot com>, Mei Ligang <ligang at sunnorth dot com dot cn>, Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- Date: Tue, 17 Jan 2017 09:29:42 +1030
- 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>
On Mon, Jan 16, 2017 at 10:10:57PM +0000, Maciej W. Rozycki 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.
> I do hope the patch description clearly indicates the bug conditions;
Excellently.
--
Alan Modra
Australia Development Lab, IBM