binutils-gdb/ld/testsuite/ld-scripts/rgn-at8.t
2013-07-19 13:21:55 +00:00

13 lines
236 B
Raku

MEMORY
{
ram : ORIGIN = 0x10000, LENGTH = 0x10000
rom : ORIGIN = 0x20000, LENGTH = 0x10000
}
SECTIONS
{
.text : ALIGN_WITH_INPUT {*(.text)} > ram AT> rom
.data : ALIGN_WITH_INPUT {*(.data)} > ram AT> rom
/DISCARD/ : {*(*)}
}