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