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>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user