quasar/testbench/asm/hello_world_dccm.ld

15 lines
317 B
Plaintext
Raw Normal View History

2021-03-03 14:35:11 +08:00
OUTPUT_ARCH( "riscv" )
ENTRY(_start)
SECTIONS {
.text : { *(.text*) }
_end = .;
2021-03-29 13:09:22 +08:00
. = 0xd0580000;
.data.io . : { *(.data.io) }
2021-03-03 14:35:11 +08:00
. = 0xf0040000;
2021-03-29 13:09:22 +08:00
.data : { *(.*data) *(.rodata*) *(.sbss) STACK = ALIGN(16) + 0x1000;}
.bss : { *(.bss) }
. = 0xfffffff8;
.data.ctl : { LONG(0xf0040000); LONG(STACK) }
2021-03-03 14:35:11 +08:00
}