Hi,
We have recently moved a large existing code base to ccs5 and switched from COFF to ELF. We also use SYS/BIOS.
We now have to configure the linker using a .bld and .cfg file which is processed during the bios build phase. This produces bios_pe66_x.xdl which is to all intents and purposes a linker command file.
Where we used to end up with a single .const section - we now have 1139:
82e9ace0 82e9ace0 00000001 00000001 r-- .const.1139
A similarly large number of .far and .fardata also.
Our sections configuration (via xdc and the .cfg file) is:
Program.sectMap[".bss"]="DDR3";
Program.sectMap[".neardata"]="DDR3";
Program.sectMap[".rodata"]="DDR3";
Program.sectMap["xdc.meta"]="DDR3";
Program.sectMap[".text"]="DDR3";
Program.sectMap[".cio"]="DDR3";
Program.sectMap[".ti.decompress"]="DDR3";
Program.sectMap[".text"]="DDR3";
Program.sectMap[".far "]="DDR3";
Program.sectMap[".taskStackSection"]="DDR3";
Program.sectMap[".sysmem"]="DDR3";
Program.sectMap[".cinit"]="DDR3";
Program.sectMap[".init_array"]="DDR3";
Program.sectMap[".ti.handler_table"]="DDR3";
Program.sectMap[".args"]="DDR3";
Program.sectMap[".switch"]="DDR3";
Program.sectMap[".data"]="DDR3";
Program.sectMap[".stack"]="DDR3";
Program.sectMap[".vecs"]="DDR3";
Program.sectMap[".fardata"]="DDR3";
Program.sectMap[".const"]="DDR3";
...