aboutsummaryrefslogtreecommitdiff
path: root/linker.ld
diff options
context:
space:
mode:
Diffstat (limited to 'linker.ld')
-rw-r--r--linker.ld5
1 files changed, 4 insertions, 1 deletions
diff --git a/linker.ld b/linker.ld
index f7010e7..8eba287 100644
--- a/linker.ld
+++ b/linker.ld
@@ -12,7 +12,11 @@ SECTIONS
. = 0;
.multiboot : {
. = ALIGN(8);
+ begin_multiboot = .;
KEEP(*(.multiboot.header))
+ *(.multiboot.text)
+ *(.multiboot.pages))
+ end_multiboot = .;
}
/* Begin putting sections at 4 MiB */
@@ -20,7 +24,6 @@ SECTIONS
.text ALIGN(4K) : AT(ADDR(.text) - VADDR_BASE + 4M) {
begin_text = .;
- *(.multiboot.text)
*(.text*)
end_text = .;
}