Files
2025-yatcpu/lab2/riscv-target/yatcpu/link.ld
TOKISAKIX\21168 910ee11168 init repo
2023-12-11 21:50:22 +08:00

13 lines
270 B
Plaintext

OUTPUT_ARCH( "riscv" )
ENTRY(rvtest_entry_point)
SECTIONS
{
. = 0x00001000;
.text : { *(.text.init) *(.text.startup) *(.text) }
.data ALIGN(0x1000) : { *(.data*) *(.rodata*) *(.sdata*) }
.tohost ALIGN(0x1000) : { *(.tohost) }
.bss : { *(.bss) }
_end = .;
}