cores-swerv-el2/demo/link.ld

17 lines
311 B
Plaintext
Raw Normal View History

2022-03-07 21:08:10 +08:00
OUTPUT_ARCH( "riscv" )
ENTRY(_start)
SECTIONS
{
2022-03-08 17:18:19 +08:00
. = 0x80000000;
2022-03-07 21:08:10 +08:00
.text_init : { *(.text_init*) }
.text : { *(.text*) }
_end = .;
2022-03-08 17:18:19 +08:00
. = 0x80004000;
2022-03-07 21:08:10 +08:00
.data : ALIGN(0x800) { *(.*data) *(.rodata*) STACK = ALIGN(16) + 0x2000; }
.bss : { *(.bss) }
. = 0xd0580000;
.data.io : { *(.data.io) }
}