On Wed, Nov 11, 2009 at 10:32:40PM +0100, Patrick Georgi wrote:
> Ideally, it will become some automatic "as small as possible"  
> configuration. Unfortunately ld doesn't allow to align everything to an  
> upper boundary, so this requires the link-twice trick or so.

Just as a random note, the above is what SeaBIOS does.  It links the
code with "-r", figures out the sizes of the sections, and then does
the final link with the code located as high as possible.

-Kevin

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to