diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2024-03-23 18:18:05 +0100 |
---|---|---|
committer | Arthur Heymans <arthur@aheymans.xyz> | 2024-04-04 15:11:34 +0000 |
commit | ce88ae517666e6a6b3391b661b7c16cbf48de9cf (patch) | |
tree | fe241da2082dfb6daaf65e24f96ffb652b41c803 | |
parent | 31b505b0f7fff16bea09279203cf059d7dad36c8 (diff) |
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>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81434
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | src/arch/x86/bootblock.ld | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/bootblock.ld b/src/arch/x86/bootblock.ld index 65479851ce..73a3d18360 100644 --- a/src/arch/x86/bootblock.ld +++ b/src/arch/x86/bootblock.ld @@ -26,7 +26,7 @@ SECTIONS { 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); |