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.

.cinit section was not generated in EABI mode.

Hi Everyone

I have created ELF format using tms470 compiler in EABI mode.
Also, I have specified a different entry point instead of c_int00.

Despite linking with -c option to initialize variable at run time,
.cinit section was not generated.

What kind of an approach is needed to solve this problem?

  • This is supported starting with the 4.6.0 version of the compiler. Note that the c_int00 routine provided by the compiler processes the cinit records to initialize variables. If you supply your own entry routine, you are responsible for processing the records.

  • Hi codya

    Thank you for your reply and advice.
    I confirmed cinit record was generated without any problems in version 4.6.0.