| 1 |
/* Copyright (C) 2005 Psi Systems, Inc. |
| 2 |
File: speex_C55_test.cmd |
| 3 |
Linker command file with memory allocation for TI TMS320VC5509A processor |
| 4 |
for use with TI Code Composer (TM) DSP development tools. |
| 5 |
|
| 6 |
Redistribution and use in source and binary forms, with or without |
| 7 |
modification, are permitted provided that the following conditions |
| 8 |
are met: |
| 9 |
|
| 10 |
- Redistributions of source code must retain the above copyright |
| 11 |
notice, this list of conditions and the following disclaimer. |
| 12 |
|
| 13 |
- Redistributions in binary form must reproduce the above copyright |
| 14 |
notice, this list of conditions and the following disclaimer in the |
| 15 |
documentation and/or other materials provided with the distribution. |
| 16 |
|
| 17 |
- Neither the name of the Xiph.org Foundation nor the names of its |
| 18 |
contributors may be used to endorse or promote products derived from |
| 19 |
this software without specific prior written permission. |
| 20 |
|
| 21 |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 22 |
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 23 |
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 24 |
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR |
| 25 |
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 26 |
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 27 |
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 28 |
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
| 29 |
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
| 30 |
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 31 |
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 32 |
*/ |
| 33 |
|
| 34 |
-c |
| 35 |
-stack 0x1c00 |
| 36 |
-heap 0x1000 /* If private memory allocation is used for Speex */ |
| 37 |
/*-heap 0x6000 / * If calloc is used for Speex */ |
| 38 |
-sysstack 0x200 |
| 39 |
-lrts55.lib |
| 40 |
|
| 41 |
MEMORY |
| 42 |
{ |
| 43 |
DARAM: origin = 0x200, len = 0x7e00 |
| 44 |
DARAM_B: origin = 0x8000, len = 0x8000 |
| 45 |
VECT: origin = 0x100, len = 0x100 |
| 46 |
SARAM_A: origin = 0x10000, len = 0x10000 |
| 47 |
SARAM_B: origin = 0x20000, len = 0x20000 |
| 48 |
} |
| 49 |
|
| 50 |
SECTIONS |
| 51 |
{ |
| 52 |
.vectors: {} > VECT |
| 53 |
.bootmem: {} > DARAM |
| 54 |
.text: {} > SARAM_B |
| 55 |
.cinit: {} > SARAM_B |
| 56 |
.switch: {} > SARAM_B |
| 57 |
.bss: {} > DARAM |
| 58 |
/* .far: {} > DARAM*/ |
| 59 |
.const: {} > DARAM |
| 60 |
.sysmem: {} > DARAM_B |
| 61 |
.cio: {} > DARAM |
| 62 |
.stack: {} > DARAM |
| 63 |
.sysstack: {} > DARAM |
| 64 |
.myheap: {} > SARAM_A |
| 65 |
} |