diff options
Diffstat (limited to 'linker.ld')
-rw-r--r-- | linker.ld | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -10,17 +10,18 @@ SECTIONS * early in the image or the bootloader won't recognize the file format. */ . = 0; - _kernel_start = .; .multiboot : { *(.multiboot.header) - *(.multiboot.text) } /* Begin putting sections at 1 MiB */ + /* TODO load sections at VADDR_BASE rather than at VADDR_BASE + 1M */ . = VADDR_BASE + 1M; + _kernel_start = .; .text ALIGN(4K) : AT(ADDR(.text) - VADDR_BASE) { begin_text = .; + *(.multiboot.text) *(.text*) end_text = .; } |