aboutsummaryrefslogtreecommitdiff
path: root/src/linker.ld
diff options
context:
space:
mode:
Diffstat (limited to 'src/linker.ld')
-rw-r--r--src/linker.ld9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/linker.ld b/src/linker.ld
index 429da33..768cf15 100644
--- a/src/linker.ld
+++ b/src/linker.ld
@@ -1,13 +1,10 @@
ENTRY(_start)
SECTIONS {
- . = 1M;
-
- .multiboot {
- KEEP(*(.multiboot))
- }
+ . = 0x100000;
.text : ALIGN(4K) {
+ KEEP(*(.multiboot))
*(.text)
}
@@ -20,7 +17,7 @@ SECTIONS {
}
.bss : ALIGN(4K) {
- *(COMMON)
*(.bss)
+ *(COMMON)
}
}