2020-02-20 10:24:28 +08:00
|
|
|
|
|
|
|
OUTPUT_ARCH( "riscv" )
|
|
|
|
ENTRY(_start)
|
|
|
|
|
|
|
|
SECTIONS {
|
|
|
|
.text : { *(.text*) }
|
|
|
|
_end = .;
|
2021-01-28 01:36:43 +08:00
|
|
|
. = 0xd0580000;
|
|
|
|
.data.io : { *(.data.io) }
|
2020-02-20 10:24:28 +08:00
|
|
|
. = 0xf0040000;
|
2021-01-28 01:36:43 +08:00
|
|
|
.data : { *(.*data) *(.rodata*) *(.*bss) STACK = ALIGN(16) + 0x1000;}
|
2020-09-19 04:34:02 +08:00
|
|
|
. = 0xfffffff8;
|
|
|
|
.data.ctl : { LONG(0xf0040000); LONG(STACK) }
|
2020-02-20 10:24:28 +08:00
|
|
|
}
|