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

15 lines
317 B
Plaintext
Raw Normal View History

2020-01-23 06:22:50 +08:00
OUTPUT_ARCH( "riscv" )
ENTRY(_start)
SECTIONS {
.text : { *(.text*) }
_end = .;
2020-11-18 02:25:18 +08:00
. = 0xd0580000;
.data.io . : { *(.data.io) }
2020-01-23 06:22:50 +08:00
. = 0xf0040000;
2020-11-18 02:25:18 +08:00
.data : { *(.*data) *(.rodata*) *(.sbss) STACK = ALIGN(16) + 0x1000;}
.bss : { *(.bss) }
. = 0xfffffff8;
.data.ctl : { LONG(0xf0040000); LONG(STACK) }
2020-01-23 06:22:50 +08:00
}