The following linker script is modified from a generic linker script included in CodeSourcery G++ Lite (generic-m.ld), which is the target for Cortex™-M3 processors. This linker script assumes that the CS3 start up sequence and vector table is used, and therefore, it is toolchain specific. For other GNU C compilers, please refer to the documentation and examples provided in the package.
/* Linker script for generic-m
* Version:Sourcery G++ Lite 2009q1-161
* Copyright 2007, 2008 CodeSourcery, Inc.
* The authors hereby grant permission to use, ...