diff options
Diffstat (limited to 'src/kernel/linker.ld')
-rw-r--r-- | src/kernel/linker.ld | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/kernel/linker.ld b/src/kernel/linker.ld index 274abc3..84945b1 100644 --- a/src/kernel/linker.ld +++ b/src/kernel/linker.ld @@ -2,10 +2,18 @@ ENTRY(_start) SECTIONS { + . = 0; + .text.early BLOCK(4K) : ALIGN(4K) + { + *(.multiboot) + *(.text.early) + _text_early_len = .; + } + . = 1M; .text BLOCK(4K) : ALIGN(4K) { - *(.multiboot) + _kern_start = .; *(.text) } .rodata BLOCK(4K) : ALIGN(4K) |