Hi,
Need some help in using partial linking with cgtools 7.0.1
We are migrating to CGtools v7.0.1 from v6.0.8, but facing a issue in partial linking with new tools.
For every function listed in the partial linking cmd file, we get a linker warning as “warning: no matching section“
In our codec we have two steps for linking as below:
(i). cl6x -z -r -o $(Proj_dir)\dec_alg.o64 $(Proj_dir)\C64XPLUS\*.obj
(ii). cl6x -z -o $(Proj_dir)\ C64XPLUS\dec_plink.l64P -m $(Proj_dir)\ C64XPLUS\dec_plink.map dec_plink_lib.cmd
In step (ii), dec_alg.o64 file is specified as input in the partial link command file dec_plink_lib.cmd.
But for each function line in dec_plink_lib.cmd as below, we get the warning "no matching section" even though the sections like .text:_func1 are present in the dec_alg.o64 file.
.text:dec_cSect1
{
*(.text:_func1)
*(.text:_func2)
....
}
These steps work with older CG tools without any warning.
We are using CCS 3.3 with SR11 patch, building the library for DM6446.
Any suggestions? Have we missed anything?
Thanks,
Prasad