This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Uninitialized sections in .map file and multiple sections

Hello,

First off, we are working with a C6678 device using CCS 5.2, BIOS 6.33 and xdctools 3.23.

We have been working on moving a C6415 project to the C6678. One of the things that has come up is after creating a BIOS6 project and making necessary changes to the code to get a build-able project, the .map file shows two .cinit sections and the first two sections (one of which is one of the .cinit sections) show up as UNINITIALIZED. Here is the start of the section allocation map to show what I am referring to:

SECTION ALLOCATION MAP

 output                                  attributes/
section   page    origin      length       input sections
--------  ----  ----------  ----------   ----------------
.init_array
*          0    0080c200    00000000     UNINITIALIZED

.cinit     0    0080c200    00000000     UNINITIALIZED

Another issue we face with this transition is having to switch from COFF format to ELF format .out files. We are in the process of porting the TI ELF loader to host-side C/C++ software. So far, we see multiple of 2 (byte) and multiple of 4 segment sizes. Should we also code to expect odd byte segment sizes? Can that happen with C66x code generation?

Regards,

Chris

Signalogic