This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] LD: PROVIDE_HIDDEN export class problem
- From: Alan Modra <amodra at gmail dot com>
- To: "Maciej W. Rozycki" <macro at codesourcery dot com>
- Cc: "Joseph S. Myers" <joseph at codesourcery dot com>, Dave Anglin <dave dot anglin at nrc dot ca>, Jeff Law <law at redhat dot com>, binutils at sourceware dot org
- Date: Fri, 3 May 2013 09:01:21 +0930
- Subject: Re: [PATCH] LD: PROVIDE_HIDDEN export class problem
- References: <alpine dot DEB dot 1 dot 10 dot 1304292220350 dot 1453 at tp dot orcam dot me dot uk> <20130430012124 dot GA3074 at bubble dot grove dot modra dot org> <alpine dot DEB dot 1 dot 10 dot 1304300301170 dot 1453 at tp dot orcam dot me dot uk> <20130502013429 dot GH5221 at bubble dot grove dot modra dot org> <alpine dot DEB dot 1 dot 10 dot 1305022153480 dot 26443 at tp dot orcam dot me dot uk>
On Thu, May 02, 2013 at 10:13:17PM +0100, Maciej W. Rozycki wrote:
> What I think the case is the current semantics wasn't
> really architected and just happened as a side effect of the original
> implementation of PROVIDE_HIDDEN support.
Probably.
> ld/testsuite/
> * ld-elf/provide-hidden-s.nd: New test.
> * ld-elf/provide-hidden-abs.nd: New test.
> * ld-elf/provide-hidden-def.nd: New test.
> * ld-elf/provide-hidden-dyn.nd: New test.
> * ld-elf/provide-hidden-sec.nd: New test.
> * ld-elf/provide-hidden-dynabs.nd: New test.
> * ld-elf/provide-hidden-dynsec.nd: New test.
> * ld-elf/provide-hidden-s.ld: New test linker script.
> * ld-elf/provide-hidden-1.ld: New test linker script.
> * ld-elf/provide-hidden-2.ld: New test linker script.
> * ld-elf/provide-hidden-1.s: New test source.
> * ld-elf/provide-hidden-2.s: New test source.
> * ld-elf/provide-hidden-3.s: New test source.
> * ld-elf/provide-hidden-4.s: New test source.
> * ld-elf/provide-hidden.exp: New test script.
OK, thanks!
--
Alan Modra
Australia Development Lab, IBM