aboutsummaryrefslogtreecommitdiff
path: root/kernel/link.ld
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/link.ld')
-rw-r--r--kernel/link.ld4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/link.ld b/kernel/link.ld
index 0d8d865..e63bd71 100644
--- a/kernel/link.ld
+++ b/kernel/link.ld
@@ -5,6 +5,8 @@ phys = 0x00050000;
SECTIONS
{
+ kernel_start = .;
+
.text phys : AT(phys) {
code = .;
*(.text)
@@ -26,5 +28,5 @@ SECTIONS
. = ALIGN(4096);
}
- end = .;
+ kernel_end = .;
}