summaryrefslogtreecommitdiff
path: root/linker.ld
diff options
context:
space:
mode:
authordzwdz2021-07-17 16:29:50 +0200
committerdzwdz2021-07-17 16:29:50 +0200
commit3159a40bdb65f215f7ecce831998e8139e57cf02 (patch)
tree1b888f51b44089dd930e5253ca22eaab5b35a5c4 /linker.ld
parent4c7b4a3d0f798f62775d16b47b8f192c2c2b5ef0 (diff)
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
Diffstat (limited to 'linker.ld')
-rw-r--r--linker.ld1
1 files changed, 1 insertions, 0 deletions
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)