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.

TMS320F280039C: ELF Format, CCS, 16Bit Memory Architecture, addresses vs length

Part Number: TMS320F280039C


Dear all,

I just came across the point that the addresses in elf file are pointing to 16 Bit Wide entries, while the size is counted in bytes.

So a validity check of section_address + section size <= next_section_address fails.

I wonder of there is a foreseen information in the elf format, or custom information in the ti-ccs elf output to find out this circumstance.

So far the only way I see is to make it dependent on the e_machine type, but maybe there is a more native approach

Any Idea about that?