aboutsummaryrefslogtreecommitdiff
path: root/kernel/link.ld
diff options
context:
space:
mode:
authorMarvin Borner2021-02-28 13:40:45 +0100
committerMarvin Borner2021-02-28 13:40:45 +0100
commitd50d3aeaaeaca4a75a807759a54d1d6ae8b5bce4 (patch)
tree5d606caef5599ef8a5c1383560202ca9b89b681e /kernel/link.ld
parent2a2f12c64a99749b05507d80ba3ee728d5ed76e1 (diff)
Fixed memory mapping detection
Diffstat (limited to 'kernel/link.ld')
-rw-r--r--kernel/link.ld3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/link.ld b/kernel/link.ld
index e63bd71..5a63e33 100644
--- a/kernel/link.ld
+++ b/kernel/link.ld
@@ -5,9 +5,8 @@ phys = 0x00050000;
SECTIONS
{
- kernel_start = .;
-
.text phys : AT(phys) {
+ kernel_start = .;
code = .;
*(.text)
*(.rodata)