/****************************************************************************/ /* lnk.cmd v##### */ /* Copyright (c) 1996@%%%% Texas Instruments Incorporated */ /* Usage: lnk6x -o -m lnk.cmd */ /* cl6x -z -o -m lnk.cmd */ /* */ /* Description: This file is a sample linker command file that can be */ /* used for linking programs built with the C compiler and */ /* running the resulting .out file on a C620x/C670x */ /* simulator. Use it as a guideline. You will want to */ /* change the memory layout to match your specific C6xxx */ /* target system. You may want to change the allocation */ /* scheme according to the size of your program. */ /* */ /* Notes: (1) You must specivy a directory in which rts6x00.lib is */ /* located. either add a -i"" line to this */ /* file or use the system environment variable C_DIR to */ /* specify a search path for the libraries. */ /* */ /* (2) If the run-time library you are using is not named */ /* rts6200[e].lib, rts6400[e].lib, or rts6700[e].lib, be */ /* sure to use the correct name here. */ /* */ /****************************************************************************/ -c -heap 0x2000 -stack 0x80000 /* Memory Map 1 - the default */ MEMORY { L1P: o = 0x000E00000 l = 0x00008000 L1D: o = 0x000F00000 l = 0x00008000 L2SRAM: o = 0x000800000 l = 0x00100000 } SECTIONS { .text > L2SRAM .stack > L2SRAM .bss > L2SRAM .cinit > L2SRAM .cio > L2SRAM .const > L2SRAM .data > L2SRAM .switch > L2SRAM .sysmem > L2SRAM .far > L2SRAM .ppdata > L2SRAM }