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:Ard Biesheuvel <ardb@kernel.org> Tested-by:
Yeoreum Yun <yeoreum.yun@arm.com> Reviewed-by:
Yeoreum 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:
Will Deacon <will@kernel.org>
Loading
Please sign in to comment