mirror of
https://github.com/handsomezhuzhu/2025-yatcpu.git
synced 2026-02-20 20:10:14 +00:00
init repo
This commit is contained in:
11
lab1/csrc/link.lds
Normal file
11
lab1/csrc/link.lds
Normal file
@@ -0,0 +1,11 @@
|
||||
OUTPUT_ARCH( "riscv" )
|
||||
ENTRY(_start)
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
. = 0x00001000;
|
||||
.text : { *(.text.init) *(.text.startup) *(.text) }
|
||||
.data ALIGN(0x1000) : { *(.data*) *(.rodata*) *(.sdata*) }
|
||||
.bss : { *(.bss) }
|
||||
_end = .;
|
||||
}
|
||||
Reference in New Issue
Block a user