summaryrefslogtreecommitdiff
path: root/linker.ld
diff options
context:
space:
mode:
Diffstat (limited to 'linker.ld')
-rw-r--r--linker.ld4
1 files changed, 4 insertions, 0 deletions
diff --git a/linker.ld b/linker.ld
index cd22338..22a3ab1 100644
--- a/linker.ld
+++ b/linker.ld
@@ -6,6 +6,8 @@ SECTIONS
/* Begin at 1 MiB */
. = 1M;
+ __kernel_start = .;
+
/* Multiboot header */
.text BLOCK(4K) : ALIGN(4K)
{
@@ -23,4 +25,6 @@ SECTIONS
*(COMMON)
*(.bss)
}
+
+ __kernel_end = .;
}