Retro68/binutils/ld/testsuite/ld-scripts/rgn-at10.t

14 lines
288 B
Perl
Raw Normal View History

2015-08-28 15:32:19 +00:00
MEMORY
{
ram : ORIGIN = 0x10000, LENGTH = 0x10000
rom : ORIGIN = 0x20000, LENGTH = 0x10000
}
SECTIONS
{
.text : ALIGN_WITH_INPUT {*(.text)} > ram AT> rom
.tbss : ALIGN_WITH_INPUT {*(.tbss)} > ram AT> rom
.data : ALIGN_WITH_INPUT {*(.data)} > ram AT> rom
/DISCARD/ : {*(*)}
}