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

25 lines
286 B
Raku

PROVIDE (mem_origin = 0x100);
PROVIDE (mem_length = 0x200);
MEMORY
{
FOO : ORIGIN = mem_origin, LENGTH = mem_length
}
SECTIONS
{
.data : {
*(.data .data.*)
} >FOO
.text : {
*(.text .text.*)
} >FOO
.bss : {
*(.bss .bss.*)
} >FOO
/DISCARD/ : { *(.*) }
}