Fix creation of coreboot.bootblock when -O2 is specified instead of -Os (4GB image...
authorStefan Reinauer <stepan@coresystems.de>
Fri, 5 Mar 2010 18:03:49 +0000 (18:03 +0000)
committerStefan Reinauer <stepan@openbios.org>
Fri, 5 Mar 2010 18:03:49 +0000 (18:03 +0000)
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>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5189 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/arch/i386/init/ldscript_fallback_cbfs.lb

index a8747f61aa8e9ddc8024279422a9d27ee81f80c0..c77f9e83349792eeacbcabc2c0f76683d58e92b4 100644 (file)
@@ -47,6 +47,7 @@ SECTIONS
                *(.rom.data);
                *(.init.rodata.*);
                *(.init.text);
+               *(.rodata);
                *(.rodata.*);
                *(.rom.data.*);
                . = ALIGN(16);