diff options
author | Marvin Borner | 2020-04-27 23:13:36 +0200 |
---|---|---|
committer | Marvin Borner | 2020-04-27 23:13:36 +0200 |
commit | 46007d2598b7aef13895b21669cfb6f24272e5fe (patch) | |
tree | 59f68b3a9449d3777b84292efe55e2dc3f32cdaa /src/userspace | |
parent | f30c9803f05e90087e367953aa142275f8688f61 (diff) |
Minor but important fixes in processing
Diffstat (limited to 'src/userspace')
-rw-r--r-- | src/userspace/linker.ld | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/src/userspace/linker.ld b/src/userspace/linker.ld index d793912..8ede485 100644 --- a/src/userspace/linker.ld +++ b/src/userspace/linker.ld @@ -1,19 +1,24 @@ ENTRY(_start) - -SECTIONS { - .text : { +SECTIONS +{ + .text 0x40000000: + { + code = .; _code = .; __code = .; *(.text) - . = ALIGN(4096); } - .data : { + .data ALIGN(0x400000): + { + data = .; _data = .; __data = .; *(.data) *(.rodata) - . = ALIGN(4096); } - .bss : { + .bss ALIGN(0x400000): + { + bss = .; _bss = .; __bss = .; *(.bss) - . = ALIGN(4096); } + + end = .; _end = .; __end = .; }
\ No newline at end of file |