[coreboot] [PATCH]clean up bootblocksize handling in cbfstool, kconfig

Kevin O'Connor kevin at koconnor.net
Thu Nov 12 02:20:18 CET 2009


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




More information about the coreboot mailing list