X-Git-Url: http://git.dujemihanovic.xyz/posts?a=blobdiff_plain;f=kernel%2Flinker.ld;h=59d0381af92cf1bf95859357d31b9e2d63b6a11f;hb=1d0592f3c62d45b1fc23e807bf8cc2274496a4f5;hp=d68e9f2c96af541f9042df444d10f7803ff1e7fb;hpb=3d58037b465f917b19b0f786c334ed70e1065857;p=nameless-os.git diff --git a/kernel/linker.ld b/kernel/linker.ld index d68e9f2..59d0381 100644 --- a/kernel/linker.ld +++ b/kernel/linker.ld @@ -3,9 +3,9 @@ OUTPUT_FORMAT(binary) SECTIONS { - . = 0x1000; + . = 0x100000; - .text : { *(.text) } - .data : { *(.data) } - .bss : { *(.bss) } + .text : ALIGN(0x1000) { *(.text) } + .data : ALIGN(0x1000) { *(.data) } + .bss : ALIGN(0x1000) { *(.bss) } }