diff options
Diffstat (limited to 'tests/test-progs/asmtest/src/riscv/env/ps/link.ld')
-rw-r--r-- | tests/test-progs/asmtest/src/riscv/env/ps/link.ld | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/test-progs/asmtest/src/riscv/env/ps/link.ld b/tests/test-progs/asmtest/src/riscv/env/ps/link.ld new file mode 100644 index 000000000..b3e315e78 --- /dev/null +++ b/tests/test-progs/asmtest/src/riscv/env/ps/link.ld @@ -0,0 +1,17 @@ +OUTPUT_ARCH( "riscv" ) +ENTRY(_start) + +SECTIONS +{ + . = 0x80000000; + .text.init : { *(.text.init) } + . = ALIGN(0x1000); + .tohost : { *(.tohost) } + . = ALIGN(0x1000); + .text : { *(.text) } + . = ALIGN(0x1000); + .data : { *(.data) } + .bss : { *(.bss) } + _end = .; +} + |