Match archive:file in linker script filespecs

H.J. Lu hjl.tools@gmail.com
Fri Jun 6 14:38:00 GMT 2008


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.



More information about the Binutils mailing list