On Thu, Aug 12, 2010 at 09:27:39PM +0200, Patrick Georgi wrote: > Two possible solutions, both need to be added to > src/arch/i386/init/ldscript_fallback_cbfs.lb: > > 1. _bogus = ASSERT((SIZEOF(.bss) + SIZEOF(.data)) == 0, "Do not use > global variables in romstage"); [...] > 2. Add .bss and .data to /DISCARD/.
Just as a point of reference, SeaBIOS has been using method 2. (SeaBIOS needs to ensure the 16bit code doesn't use any regular global variables.) -Kevin -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

