aboutsummaryrefslogtreecommitdiff
path: root/kernel/boot/linker.ld
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/boot/linker.ld')
-rw-r--r--kernel/boot/linker.ld3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/boot/linker.ld b/kernel/boot/linker.ld
index c90ef51..d98714f 100644
--- a/kernel/boot/linker.ld
+++ b/kernel/boot/linker.ld
@@ -36,6 +36,7 @@ SECTIONS
work around this issue. This does not use that feature, so 2M was
chosen as a safer option than the traditional 1M. */
. = 2M;
+ kernel_start = .;
/* First put the multiboot header, as it is required to be put very early
in the image or the bootloader won't recognize the file format.
@@ -68,3 +69,5 @@ SECTIONS
/* The compiler may produce other sections, by default it will put them in
a segment with the same name. Simply add stuff here as needed. */
}
+
+kernel_end = .;