diff options
author | Marvin Borner | 2019-11-10 19:50:14 +0100 |
---|---|---|
committer | Marvin Borner | 2019-11-10 19:50:14 +0100 |
commit | 7e06dfe06a0f7847eed105bc4f7ccb22df5228fc (patch) | |
tree | 446f7eeeb998b93da221d6bf14adca9df63dba69 /src/kernel/linker.ld | |
parent | a30a9b21c3e0af7996a551381a8f41075bada7ad (diff) |
Added semi-working bootloader
Diffstat (limited to 'src/kernel/linker.ld')
-rw-r--r-- | src/kernel/linker.ld | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/kernel/linker.ld b/src/kernel/linker.ld index 9062b27..8ca4406 100644 --- a/src/kernel/linker.ld +++ b/src/kernel/linker.ld @@ -1,27 +1,22 @@ ENTRY(_start) -/* Where the sections of the object files will be put in the final image */ SECTIONS { /* Begin @ 1 MB */ . = 1M; - /* Put the multiboot header. Next, the .text section. */ .text BLOCK(4K) : ALIGN(4K) { - *(.ezlocation) + *(.start_location) *(.text) } - /* Read-only data. */ .rodata BLOCK(4K) : ALIGN(4K) { *(.rodata) } - /* Read-write data (initialized) */ .data BLOCK(4K) : ALIGN(4K) { *(.data) } - /* Read-write data (uninitialized) and stack */ .bss BLOCK(4K) : ALIGN(4K) { *(COMMON) *(.bss) |