From f5f0f5ddae199121daebcd2213aabd81686cc074 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Tue, 24 Dec 2019 22:31:22 -0500 Subject: start of 0.0.9 branch, using multiboot this time --- src/kernel/link.ld | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'src/kernel/link.ld') diff --git a/src/kernel/link.ld b/src/kernel/link.ld index aeb8974..7d160f2 100644 --- a/src/kernel/link.ld +++ b/src/kernel/link.ld @@ -1,13 +1,8 @@ -MEMORY { - kload : ORIGIN = 0x01000000, LENGTH = 0x01000000 -} - SECTIONS { . = 0x01000000; - .text : { - _start = .; - *(.text) - } >kload - .rodata : { *(.rodata) } >kload - .data : { *(.data) *(.bss) } >kload + .mb_header : ALIGN(8) { *(.mb_header) } + .text : ALIGN(512) { *(.text) } + .rodata : ALIGN(512) { *(.rodata) } + .data : ALIGN(512) { *(.data) } + .bss : ALIGN(512) { *(.bss) } } \ No newline at end of file -- cgit v1.2.3