From d088740757262f43cde173c147ff4fbfa34a369a Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Tue, 31 Jan 2023 18:25:28 +0000 Subject: [PATCH] Fix the bss section size in 32-bit builds. The AP stacks section was being discarded by the linker because the change in section name and attributes hadn't been propagated from the startup64.S to startup32.S. --- boot/startup32.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/startup32.S b/boot/startup32.S index ca5535a..c40d24e 100644 --- a/boot/startup32.S +++ b/boot/startup32.S @@ -812,7 +812,7 @@ startup_stack_top: # Main stack area. - .section "stacks", "aw", @progbits + .section ".stacks", "aw", @nobits .align 16 . = . + STACKS_SIZE