2020-03-05 10:37:08 +08:00
|
|
|
OUTPUT_ARCH( "riscv" )
|
|
|
|
ENTRY(_start)
|
2020-11-18 02:25:18 +08:00
|
|
|
|
2020-03-05 10:37:08 +08:00
|
|
|
SECTIONS {
|
2020-11-18 02:25:18 +08:00
|
|
|
.text : { crt0.o (.text*) }
|
|
|
|
_end = .;
|
|
|
|
. = 0xee000000 ;
|
|
|
|
.text.init : { cmark.o (.text*) }
|
|
|
|
. = 0xd0580000;
|
|
|
|
.data.io . : { *(.data.io) }
|
|
|
|
. = 0xf0040000;
|
|
|
|
.data : { *(.*data) *(.rodata*) *(.sbss) STACK = ALIGN(16) + 0x1000;}
|
|
|
|
.bss : { *(.bss) }
|
|
|
|
. = 0xfffffff0;
|
|
|
|
.iccm.ctl : { LONG(0xee000000); LONG(0xee008000) }
|
|
|
|
. = 0xfffffff8;
|
|
|
|
.data.ctl : { LONG(0xf0040000); LONG(STACK) }
|
2020-03-05 10:37:08 +08:00
|
|
|
}
|