1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-04-27 12:49:25 +00:00

Add Rust demo

Signed-off-by: Tom Vijlbrief <tvijlbrief@gmail.com>
This commit is contained in:
Tom Vijlbrief
2020-01-03 10:34:21 +01:00
committed by Anton Blanchard
parent d511e088d2
commit ae55f5efbd
10 changed files with 484 additions and 0 deletions

17
rust_lib_demo/powerpc.lds Normal file
View File

@@ -0,0 +1,17 @@
SECTIONS
{
_start = .;
. = 0;
.head : {
KEEP(*(.head))
}
. = 0x1000;
.text : { *(.text) }
. = 0x1f000;
.data : { *(.data) }
. = ALIGN(4);
_bss = .; /* define a global symbol at bss start; used by startup code */
.bss : { *(.bss) }
. = ALIGN(4);
_ebss = .; /* define a global symbol at bss end; used by startup code */
}