The examples\project in TivaWave 1.0 project_ccs.cmd linker command file has the comment:
And symbol definition which implies a stack size of 256 bytes:/* --stack_size=256 */
The __STACK_TOP symbol defined in the linker command file is referenced by the g_pfnVectors table in startup_ccs.c, which sets the initial stack pointer at processor reset.__STACK_TOP = __stack + 256;
The stack pointer set by __STACK_TOP appears not to be used, since before using the stack, the boot.asm code from the ARM compiler run time library sets the stack pointer according to the size set by the CCS project property Build -> ARM Linker -> Basic Options -> Set C system stack size (--stack_size, -stack).
To avoid confusion recommend changing the TivaWare CCS examples such that:
a) Remove the definition of the __STACK_TOP symbol from the project_ccs.cmd linker command file
b) Change the g_pfnVectors table in startup_ccs.c to use __STACK_END instead of __STACK_TOP. Where __STACK_END is already being defined by the ARM compiler linker, based upon the C system stack size CCS project property.
(I noticed this issue since had a program crashing due to insufficient stack size, and was checking if the stack size in the linker command file or CCS project properties was the one actually being used)