diff options
| author | Marin Ivanov <[email protected]> | 2024-05-01 01:21:41 +0300 |
|---|---|---|
| committer | Marin Ivanov <[email protected]> | 2024-05-01 01:21:41 +0300 |
| commit | 4d926ffe0efdc02ceb43b8959857072ad7ef6f16 (patch) | |
| tree | ebbce9356b6744d7be61fd55de6680e057162920 /src/linker.ld | |
| parent | 37c9de5d261e18e620367790f24fa94d34ef601e (diff) | |
fix: linking works
Diffstat (limited to 'src/linker.ld')
| -rw-r--r-- | src/linker.ld | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/linker.ld b/src/linker.ld index 429da33..768cf15 100644 --- a/src/linker.ld +++ b/src/linker.ld @@ -1,13 +1,10 @@ ENTRY(_start) SECTIONS { - . = 1M; - - .multiboot { - KEEP(*(.multiboot)) - } + . = 0x100000; .text : ALIGN(4K) { + KEEP(*(.multiboot)) *(.text) } @@ -20,7 +17,7 @@ SECTIONS { } .bss : ALIGN(4K) { - *(COMMON) *(.bss) + *(COMMON) } } |
