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