This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Skipping of incompatible linker scripts in search path
- From: Roland McGrath <roland at redhat dot com>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: Jakub Jelinek <jakub at redhat dot com>, binutils at sources dot redhat dot com
- Date: Wed, 9 Oct 2002 22:53:44 -0700
- Subject: Re: [PATCH] Skipping of incompatible linker scripts in search path
> I'd rather some other scheme, if at all possible, because it would be
> nice to build a biarch linker that automatically selected output arch
> depending on input. There is code in ld to do that (whether it works
> or not I can't say), but it is overridden by OUTPUT_FORMAT in scripts.
> So if we got rid of all OUTPUT_FORMAT statements in scripts it might
> be possible to dipense with -m arch on ld command line.
The simplest of the other features we've discussed for this is something like:
MATCH_TARGET ( target )
that would have the biarch skipping behavior Jakub's patch gives to
OUTPUT_FORMAT, but match on input format.