Return to ldscript CVS log | Up to [local] / funnyos / arch / sam7s64 |
File: [local] / funnyos / arch / sam7s64 / ldscript (download)
Revision 1.2, Fri Nov 9 23:08:45 2007 UTC (16 years, 6 months ago) by init
place .vectors at the beginning of .text |
/* * $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 = .;