2019-06-04 22:57:48 +08:00
|
|
|
|
|
|
|
OUTPUT_ARCH( "riscv" )
|
|
|
|
ENTRY(_start)
|
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
{
|
2020-02-20 10:25:04 +08:00
|
|
|
. = 0;
|
|
|
|
.text : { *(.text*) }
|
2019-06-04 22:57:48 +08:00
|
|
|
_end = .;
|
2020-02-20 10:25:04 +08:00
|
|
|
. = 0x10000;
|
|
|
|
.data : ALIGN(0x800) { *(.*data) *(.rodata*) STACK = ALIGN(16) + 0x8000; }
|
2021-01-28 01:36:43 +08:00
|
|
|
.bss : { *(.bss) }
|
|
|
|
. = 0xd0580000;
|
|
|
|
.data.io : { *(.data.io) }
|
2019-06-04 22:57:48 +08:00
|
|
|
}
|