From 28c088cd9104b7b4fbcfe860a718291da3f9a5f3 Mon Sep 17 00:00:00 2001 From: Daniel Bertalan Date: Sat, 11 Sep 2021 09:56:12 +0200 Subject: [PATCH] Kernel: Support split data sections This feature is used by Clang when performing LTO. With this change, these split sections now go in the right place. --- Kernel/linker.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/linker.ld b/Kernel/linker.ld index 4fa765068b..17c57d0d88 100644 --- a/Kernel/linker.ld +++ b/Kernel/linker.ld @@ -87,7 +87,7 @@ SECTIONS start_of_kernel_bss = .; *(page_tables) *(COMMON) - *(.bss) + *(.bss*) end_of_kernel_bss = .; . = ALIGN(4K);