Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/81434?usp=email )
Change subject: arch/x86/bootblock.ld: Account for the .data section ......................................................................
arch/x86/bootblock.ld: Account for the .data section
commit b7832de026 (x86: Add .data section support for pre-memory stages) added a data section to the bootblock. This needs to be accounted for in the linker script.
Change-Id: I39abe499e5e9edbdacb1697c0a0fc347af3ef9c4 Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M src/arch/x86/bootblock.ld 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/34/81434/1
diff --git a/src/arch/x86/bootblock.ld b/src/arch/x86/bootblock.ld index 6547985..73a3d18 100644 --- a/src/arch/x86/bootblock.ld +++ b/src/arch/x86/bootblock.ld @@ -26,7 +26,7 @@
INCLUDE "bootblock/lib/program.ld"
- PROGRAM_SZ = SIZEOF(.text); + PROGRAM_SZ = SIZEOF(.text) + SIZEOF(.data);
. = MIN(_ECFW_PTR, MIN(_ID_SECTION, _FIT_POINTER)) - EARLYASM_SZ; . = CONFIG(SIPI_VECTOR_IN_ROM) ? ALIGN(4096) : ALIGN(16);