hello, all:
we are using the simulator in CCS, and run a mixed C/C++ project, at first, we could run the project ok(elf format). and then we develop some code in the project, but we found the project could not run to main. we did debug step by step and found exeception occurs when initialize the .init_array. it means the following code could not be executed successfully.
__TI_cpp_init() {
if (__TI_INITARRAY_Base != __TI_INITARRAY_Limit)
{
int i = 0;
while (&(__TI_INITARRAY_Base[i]) != __TI_INITARRAY_Limit)
__TI_INITARRAY_Base[i++]();
}
}
is there any compiler option that trigger this error?