Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-scripts/rgn-at9.t

13 lines
236 B
Perl
Raw Normal View History

2023-03-06 14:48:14 +01:00
MEMORY
{
ram : ORIGIN = 0x10000, LENGTH = 0x10000
rom : ORIGIN = 0x20080, LENGTH = 0x10000
}
SECTIONS
{
.text : ALIGN_WITH_INPUT {*(.text)} > ram AT> rom
.data : ALIGN_WITH_INPUT {*(.data)} > ram AT> rom
/DISCARD/ : {*(*)}
}