[coreboot] [commit] r5189 - trunk/src/arch/i386/init

repository service svn at coreboot.org
Fri Mar 5 19:03:49 CET 2010

Author: stepan
Date: Fri Mar  5 19:03:49 2010
New Revision: 5189
URL: http://tracker.coreboot.org/trac/coreboot/changeset/5189

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 at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>


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 @@
+		*(.rodata);
 		. = ALIGN(16);

More information about the coreboot mailing list