Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-elf/loadaddr3.t

17 lines
280 B
Perl
Raw Normal View History

2023-03-06 14:48:14 +01:00
MEMORY
{
rom (rx) : ORIGIN = 0x100, LENGTH = 0x100
ram (rwx) : ORIGIN = 0x200, LENGTH = 0x100
}
SECTIONS
{
.text : {*(.text .text.*)} >rom
.data : {data_load = LOADADDR (.data);
data_start = ADDR (.data);
*(.data .data.*)} >ram AT>rom
/DISCARD/ : { *(.*) }
}