/* * $Id: ldscript,v 1.5 2007/11/12 22:02:18 nbrk Exp $ */ /* * Where to put each section. */ SECTIONS { .text : { _stext = .; *(.text) *(.rodata) *(.rodata*) . = ALIGN(4); _etext = .; } /* .text */ /* initialized data (.data), place this at 60KB (upper 4KB of flash) */ .data : AT (0x0000f000) { _sdata = .; *(.data) _edata = .; } /* .data */ /* uninitialized data (.bss), completes .data */ .bss (NOLOAD) : { . = ALIGN(4); _sbss = .; *(.bss) _ebss = .; } /* .bss */ } /* SECTIONS */ end = .;