This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Match archive:file in linker script filespecs
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: binutils at sourceware dot org
- Date: Fri, 6 Jun 2008 06:29:04 -0700
- Subject: Re: Match archive:file in linker script filespecs
- References: <20080606053134.GD25946@bubble.grove.modra.org>
On Thu, Jun 5, 2008 at 10:31 PM, Alan Modra <amodra@bigpond.net.au> wrote:
> This extends the linker script input section file specification to
> match files within archives. I've chosen to enable this only for SPU,
> where we need the feature to conveniently specify sections for
> overlays. (For instance, libgfortran contains read.o as does
> newlib, and we might have read.o on the command line.) If people
> think this is a good idea the feature can be enabled on all targets,
> and possibly for other filespecs such as those in EXCLUDE_FILE.
>
Hi Alan,
Can it be used to exclude a file in archive? It may be useful for
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28811
Thanks.
H.J.