Plan for incremental linking with gold

Daniel Jacobowitz drow@false.org
Sat Dec 27 01:30:00 GMT 2008


On Thu, Dec 25, 2008 at 09:56:18PM -0800, Ian Lance Taylor wrote:
> > Maybe some day a similar mode (--incremental-thorough?) can be added
> > to gold.  I might be able to get permission to release the code if
> > you're interested; let me know.
> 
> I would certainly be interested if you think it would be helpful.  I
> haven't seen the code for any incremental linker.  Which linker were
> you modifying?

It was a Python wrapper for the ARM linker.

> > It's not appropriate for your goals, but there's ways around this; it
> > just complicates layout a bit.  You need to be able to answer the
> > question "does this placement violate the new linker script".
> 
> Right, but I don't find this to be a very interesting case for gold,
> since it normally uses no linker script at all.  And it's not like the
> linker script changes very often even for the cases where you need
> one.

True, though more true in non-embedded use.  I really do have hopes of
making gold useful for embedded users some day.  I just don't know
when I'll get to it :-)

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Binutils mailing list