diff options
Diffstat (limited to 'linker.ld')
-rw-r--r-- | linker.ld | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -8,14 +8,13 @@ SECTIONS { /* Begin putting sections at 1 MiB, a conventional place for kernels to be loaded at by the bootloader. */ - . = 1M; + . = 10K; /* First put the multiboot header, as it is required to be put very early early in the image or the bootloader won't recognize the file format. Next we'll put the .text section. */ .text BLOCK(4K) : ALIGN(4K) { - *(.multiboot) *(.text) } @@ -34,7 +33,6 @@ SECTIONS /* Read-write data (uninitialized) and stack */ .bss BLOCK(4K) : ALIGN(4K) { - *(COMMON) *(.bss) *(.bootstrap_stack) } |