diff options
author | Benji Dial <Benji3.141@gmail.com> | 2019-12-24 22:31:22 -0500 |
---|---|---|
committer | Benji Dial <Benji3.141@gmail.com> | 2019-12-24 22:31:22 -0500 |
commit | f5f0f5ddae199121daebcd2213aabd81686cc074 (patch) | |
tree | 91d8d29ea497e282f841849e620d43f8fcafcfcc /src/kernel/link.ld | |
parent | a947a7a143029ee8ef5cb4a4232d7439b8a79670 (diff) | |
download | portland-os-f5f0f5ddae199121daebcd2213aabd81686cc074.tar.gz |
start of 0.0.9 branch, using multiboot this time
Diffstat (limited to 'src/kernel/link.ld')
-rw-r--r-- | src/kernel/link.ld | 15 |
1 files changed, 5 insertions, 10 deletions
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 |