diff options
Diffstat (limited to 'linker.ld')
-rw-r--r-- | linker.ld | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 = .; } |