summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--link.ld3
1 files changed, 2 insertions, 1 deletions
diff --git a/link.ld b/link.ld
index 33b6066..11536c8 100644
--- a/link.ld
+++ b/link.ld
@@ -11,7 +11,8 @@ SECTIONS {
_boot_end = .;
}
- .text KERNEL_VMA : AT(_boot_end) {
+ . = KERNEL_VMA;
+ .text : AT(_boot_end) {
*(.text.startup)
*(.text)
*(.rodata*)