1MEMORY
2{
3  ram : ORIGIN = 0x10000, LENGTH = 0x10000
4  rom : ORIGIN = 0x20000, LENGTH = 0x10000
5}
6
7SECTIONS
8{
9  .text : ALIGN_WITH_INPUT {*(.text)} > ram AT> rom
10  .data : ALIGN_WITH_INPUT {*(.data)} > ram AT> rom
11  /DISCARD/ : {*(*)}
12}
13