boards/qemu-armv8a: Fix location of kasan.shadows

The location of the kasan.shadows section was causing mysterious CI
issues.

Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
This commit is contained in:
Matteo Golin 2026-07-06 12:14:07 -04:00
parent 803853ad3f
commit b2eb2c447a
No known key found for this signature in database
GPG key ID: 49190B6AD4D14EA6

View file

@ -45,9 +45,6 @@ SECTIONS
KEEP (*(.data..LASAN0))
KEEP (*(.data.rel.local..LASAN0))
}
.kasan.shadows : {
*(.kasan.shadows)
}
#endif
_start = .;
@ -128,6 +125,13 @@ SECTIONS
_ebss = .;
_szbss = _ebss - _sbss;
#ifdef CONFIG_MM_KASAN_GLOBAL
.kasan.shadows : {
KEEP(*(.kasan.shadows))
} :text
. = ALIGN(4096);
#endif
.initstack : { /* INIT STACK */
_s_initstack = .;
*(.initstack)