This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: Sort input section by list


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]