Hi all,
I tried to change function location from L2 to DDR in cmd file as below. My software environment: CCS4.2, CGT7.2, C++ Language, -O3 + no debug + -mo, C6616, elf
SECTIONS
{
.platformLibFast: { -lPlatformLib.lib<QueMgr.obj> (.text) } > L2_MEM
.platformLibSlow: { -lPlatformLib.lib<QueMgr.obj> (.text:*Initialize*) } > DDR_MEM
}
But it will print "....warning: no match section......" warning message for Line 4. That means wild card * does not work. _ZN3QueMgr8InitializeEv funtion is still in L2_MEM, In section7.4.1 Wild Cards in File, Section, and Symbol Patterns of Spru186u TMS320C6000 Assembly Language Tools v 7.2 user guide.pdf, I see introduction about wild card usage, but I can't find any error in my cmd file. Why linker can not find the match section?
Thanks.
Best Regards,
Kristy