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
This commit is contained in:
committed by
Stefan Reinauer
parent
ec42c2e8ac
commit
1b4f435281
@@ -47,6 +47,7 @@ SECTIONS
|
|||||||
*(.rom.data);
|
*(.rom.data);
|
||||||
*(.init.rodata.*);
|
*(.init.rodata.*);
|
||||||
*(.init.text);
|
*(.init.text);
|
||||||
|
*(.rodata);
|
||||||
*(.rodata.*);
|
*(.rodata.*);
|
||||||
*(.rom.data.*);
|
*(.rom.data.*);
|
||||||
. = ALIGN(16);
|
. = ALIGN(16);
|
||||||
|
Reference in New Issue
Block a user