From aab90761154504ebc950064c0490a9c99d6279d5 Mon Sep 17 00:00:00 2001 From: 0x6D70 Date: Wed, 11 Sep 2024 21:02:44 +0200 Subject: [PATCH] Add .got section to linker script --- build/linker-scripts/kernel.ld | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/linker-scripts/kernel.ld b/build/linker-scripts/kernel.ld index 138d825d..e7d0dadf 100644 --- a/build/linker-scripts/kernel.ld +++ b/build/linker-scripts/kernel.ld @@ -46,6 +46,10 @@ SECTIONS *(.bss .bss.*) } :data + .got : { + *(.got) + } :data + . += CONSTANT(MAXPAGESIZE); _kernel_end = .;