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.

TMS570LC4357: How to combine the .cinit section with other sections into a single output section

Part Number: TMS570LC4357

Tool/software:

Hi, team:

I am trying to combine the .cinit section with other sections into a single output section in my linker script. Below is the relevant part of my SECTIONS configuration:

SECTIONS {
combined_section: {
*(.cinit)
*(other_section)
} > MEMORY_REGION
}

However, during the build process, I receive the following warning:

warning #10068-D: no matching section
warning #10247-D: creating output section ".cinit" without a SECTIONS specification

It seems that the *(.cinit) is not being recognized.

I would greatly appreciate any advice or recommendations to resolve this issue.

Best regards,

Hanson Liu