From 3159a40bdb65f215f7ecce831998e8139e57cf02 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 17 Jul 2021 16:29:50 +0200 Subject: multiboot: manually address regions of the kernel thanks to this, i can specify the region where the bss is - so GRUB won't place any boot modules there --- linker.ld | 1 + 1 file changed, 1 insertion(+) (limited to 'linker.ld') diff --git a/linker.ld b/linker.ld index 92db365..d2aa8bd 100644 --- a/linker.ld +++ b/linker.ld @@ -16,6 +16,7 @@ SECTIONS { *(.data) } + _data_end = .; .bss BLOCK(4K) : ALIGN(4K) { *(COMMON) -- cgit v1.2.3