Commit 90530521 authored by Ard Biesheuvel's avatar Ard Biesheuvel Committed by Will Deacon
Browse files

arm64/boot: Disallow BSS exports to startup code



BSS might be uninitialized when entering the startup code, so forbid the
use by the startup code of any variables that live after __bss_start in
the linker map.

Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
Tested-by: default avatarYeoreum Yun <yeoreum.yun@arm.com>
Reviewed-by: default avatarYeoreum Yun <yeoreum.yun@arm.com>
Link: https://lore.kernel.org/r/20250508114328.2460610-8-ardb+git@google.com


[will: Drop export of 'memstart_offset_seed', as this has been removed]
Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 4afff6cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment