From ee425652443c1a024e4384b691d7a56c32f95a5f Mon Sep 17 00:00:00 2001 From: Sam Tebbs Date: Sat, 1 Feb 2020 16:05:30 +0000 Subject: [PATCH] Keep stack section --- link.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/link.ld b/link.ld index 8bce847..87c4b43 100644 --- a/link.ld +++ b/link.ld @@ -35,7 +35,7 @@ SECTIONS { } .bss.stack ALIGN(4K) : AT (ADDR(.bss.stack) - KERNEL_ADDR_OFFSET) { - *(.bss.stack) + KEEP(*(.bss.stack)) KERNEL_STACK_END = .; }