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.

TDA4VM: tiarmclang compiler issue: only the first clang data section in a C file was retained after compiled as an object file, others are missing

Part Number: TDA4VM

Hi Team,

I found an tiarmclang compiler issue that when using more than one <#pragma clang section data=”scn_name”><#pragma clang section data=””> data section pragmas in a source code file, only the first scn_name will be retained in the compiled object file, the following scn_names are missing. I have tried using ti-cgt-armllvm_2.1.0.LTS and ti-cgt-armllvm_1.3.0.LTS and got the same result. The following examples exist in ti-processor-sdk-rtos-j721e-evm-08_02_00_05. How to solve this problem?

Cdd_Ipc.c

Pre-process file of Cdd_Ipc.c

Section information of Cdd_Ipc.o

Adc.c

Section information of Adc.o