RFC: Sort input section by list
Daniel Jacobowitz
drow@false.org
Wed Aug 27 16:23:00 GMT 2008
On Tue, Aug 26, 2008 at 09:42:47AM -0700, Arjan van de Ven wrote:
> I've done this before (at my previous employer); it includes getting gcc to dump its linker
> script, then running a perl/sed script on it to add this and then finding a way
> to get this linker script used. So far so good.
> it just becomes impossible in an autoconf/automake/libtool world...
> unless we do a gross hack and have an environment variable for such a lookaside linker script instead
> (LD_SCRIPT_PREINCLUDE?).. that would solve the issue as well.
In the latest linker sources Alan's added bits to support additional
linker scripts, instead of replacing the default script. Then it
reduces to adding an option to the compile command and I'm sure the
distro build process can manage that for most packages.
--
Daniel Jacobowitz
CodeSourcery
More information about the Binutils
mailing list