abstractaccelerator/Cores-SweRV/demo/helloworld/link.ld

17 lines
298 B
Plaintext
Raw Normal View History

2021-12-16 20:07:50 +08:00
OUTPUT_ARCH( "riscv" )
ENTRY(_start)
SECTIONS
{
2022-01-04 20:39:14 +08:00
. = 0;
.text_init : { *(.text_init*) }
2021-12-16 20:07:50 +08:00
.text : { *(.text*) }
2022-01-04 20:39:14 +08:00
_end = .;
2022-02-11 20:17:21 +08:00
. = 0x4000;
.data : ALIGN(0x800) { *(.*data) *(.rodata*) STACK = ALIGN(16) + 0x2000; }
2021-12-16 20:07:50 +08:00
.bss : { *(.bss) }
. = 0xd0580000;
.data.io : { *(.data.io) }
}