Author: stepan Date: Fri Mar 5 19:03:49 2010 New Revision: 5189 URL: http://tracker.coreboot.org/trac/coreboot/changeset/5189
Log: Fix creation of coreboot.bootblock when -O2 is specified instead of -Os (4GB image issue).
According to some GCC folks -Os should be considered a buggy and unreliable code path, so at least keep -O2 working. coreboot_ram is only 4KB bigger.
Signed-off-by: Stefan Reinauer stepan@coresystems.de Acked-by: Stefan Reinauer stepan@coresystems.de
Modified: trunk/src/arch/i386/init/ldscript_fallback_cbfs.lb
Modified: trunk/src/arch/i386/init/ldscript_fallback_cbfs.lb ============================================================================== --- trunk/src/arch/i386/init/ldscript_fallback_cbfs.lb Fri Mar 5 17:31:41 2010 (r5188) +++ trunk/src/arch/i386/init/ldscript_fallback_cbfs.lb Fri Mar 5 19:03:49 2010 (r5189) @@ -47,6 +47,7 @@ *(.rom.data); *(.init.rodata.*); *(.init.text); + *(.rodata); *(.rodata.*); *(.rom.data.*); . = ALIGN(16);