=================================================================== RCS file: /cvs/funnyos/arch/sam7s64/ldscript,v retrieving revision 1.2 retrieving revision 1.5 diff -u -r1.2 -r1.5 --- funnyos/arch/sam7s64/ldscript 2007/11/09 23:08:45 1.2 +++ funnyos/arch/sam7s64/ldscript 2007/11/12 22:02:18 1.5 @@ -1,5 +1,5 @@ /* - * $Id: ldscript,v 1.2 2007/11/09 23:08:45 init Exp $ + * $Id: ldscript,v 1.5 2007/11/12 22:02:18 nbrk Exp $ */ /* * Where to put each section. @@ -8,7 +8,6 @@ { .text : { _stext = .; - *(.vectors) *(.text) *(.rodata) *(.rodata*) @@ -16,14 +15,14 @@ _etext = .; } /* .text */ - /* initialized data (.data) */ - .data : AT (ADDR(.text) + SIZEOF(.text)) { + /* initialized data (.data), place this at 60KB (upper 4KB of flash) */ + .data : AT (0x0000f000) { _sdata = .; *(.data) _edata = .; } /* .data */ - /* uninitialized data (.bss) */ + /* uninitialized data (.bss), completes .data */ .bss (NOLOAD) : { . = ALIGN(4); _sbss = .;