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.

Strip no-alloc sections (including .template) from COFF binary



Using TI_CGT_C6000_7.4.1...

I have a COFF binary that contains several no-alloc sections. Assuming I understand COFF correctly, this means these sections are not loaded into target memory. One of them, .template, is quite large...on the order of 128 KB. This section exists even after "strip6x -p".

I'd like to not waste 128 KB of storage on a section that has no runtime use.

What is in .template and how do I get rid of it? (I am using C++ templates in my code.)

More generally, how can I strip all no-alloc sections from a COFF file with TI tools?

Thanks in advance...

--Adam