cores-swerv-el2/testbench/asm/hello_world.ld

13 lines
253 B
Plaintext
Raw Normal View History

2020-11-18 02:25:18 +08:00
OUTPUT_ARCH( "riscv" )
ENTRY(_start)
SECTIONS {
. = 0x80000000;
.text : { *(.text*) }
_end = .;
.data : { *(.*data) *(.rodata*) *(.sbss) STACK = ALIGN(16) + 0x1000;}
.bss : { *(.bss) }
. = 0xd0580000;
.data.io . : { *(.data.io) }
}