13 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
19 /* Note - we cannot use "PROVIDE(len)" ... "LENGTH = len" as
20 PROVIDE statements are not evaluated inside MEMORY blocks. */
21 flash (rx) : ORIGIN = 0, LENGTH = 256K
22 ram (rw!x) : ORIGIN = 0x800000, LENGTH = 64K
33 ${RELOCATING+ _etext = . ; }
35 } ${RELOCATING+ > flash}
36 ${CONSTRUCTING+${TORS}}
37 .data : ${RELOCATING+ AT (ADDR (.text) + SIZEOF (.text))}
42 ${RELOCATING+ _edata = . ; }
43 } ${RELOCATING+ > ram}
44 .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
46 ${RELOCATING+ _bss_start = . ; }
49 ${RELOCATING+ _end = . ; }
50 } ${RELOCATING+ > ram}
52 ${RELOCATING+ __data_load_start = LOADADDR(.data); }
53 ${RELOCATING+ __data_load_end = __data_load_start + SIZEOF(.data); }
55 .stab 0 ${RELOCATING+(NOLOAD)} :
59 .stabstr 0 ${RELOCATING+(NOLOAD)} :
65 . $srcdir/scripttempl/DWARF.sc