/* * $Id: ldscript,v 1.2 2007/11/09 23:08:45 init Exp $ */ /* * Where to put each section. */ SECTIONS { .text : { _stext = .; *(.vectors) *(.text) *(.rodata) *(.rodata*) . = ALIGN(4); _etext = .; } /* .text */ /* initialized data (.data) */ .data : AT (ADDR(.text) + SIZEOF(.text)) { _sdata = .; *(.data) _edata = .; } /* .data */ /* uninitialized data (.bss) */ .bss (NOLOAD) : { . = ALIGN(4); _sbss = .; *(.bss) _ebss = .; } /* .bss */ } /* SECTIONS */ end = .;