Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-scripts/rgn-at3.t
2023-03-06 14:48:14 +01:00

13 lines
358 B
Raku

/* Memory region at test, >AT should propagate by default */
MEMORY {
ram : ORIGIN = 0x10000, LENGTH = 0x100
rom : ORIGIN = 0x20000, LENGTH = 0x200
}
_start = 0x1000;
SECTIONS {
.text : { *(.text) } >ram AT>rom
.data : AT (0x30000) { *(.data) } >ram /* NO default AT>rom */
.bss : { *(.bss) } >ram /* NO default AT>rom */
/DISCARD/ : { *(*) }
}