From 1b4f435281e20c6c71077c2985717d96ca43c8d4 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 5 Mar 2010 18:03:49 +0000 Subject: [PATCH] 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 Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5189 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/i386/init/ldscript_fallback_cbfs.lb | 1 + 1 file changed, 1 insertion(+) diff --git a/src/arch/i386/init/ldscript_fallback_cbfs.lb b/src/arch/i386/init/ldscript_fallback_cbfs.lb index a8747f61a..c77f9e833 100644 --- a/src/arch/i386/init/ldscript_fallback_cbfs.lb +++ b/src/arch/i386/init/ldscript_fallback_cbfs.lb @@ -47,6 +47,7 @@ SECTIONS *(.rom.data); *(.init.rodata.*); *(.init.text); + *(.rodata); *(.rodata.*); *(.rom.data.*); . = ALIGN(16); -- 2.25.1