diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-03-05 18:03:49 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-03-05 18:03:49 +0000 |
commit | 1b4f435281e20c6c71077c2985717d96ca43c8d4 (patch) | |
tree | ea2a87a1533cff99399a18d4861f361292da40c3 /src/arch/i386/init | |
parent | ec42c2e8ac5a2d390ae16641312fd4421dab8d42 (diff) |
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>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5189 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch/i386/init')
-rw-r--r-- | src/arch/i386/init/ldscript_fallback_cbfs.lb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/i386/init/ldscript_fallback_cbfs.lb b/src/arch/i386/init/ldscript_fallback_cbfs.lb index a8747f61aa..c77f9e8334 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); |