Tool/software: TI C/C++ Compiler
why 'const' is initialized in .cinit?
I Have a application, before jpgealg_ti.le66 (http://software-dl.ti.com/dsps/dsps_public_sw/codecs/C6678/JPEG_E/latest/index_FDS.html). is linked in, load time address and runtime address for 'const' are the same, 'const' do not rely on .cinit to be initialized. But once jpgealg_ti.le66 is linked in, 'const' become uninitialized, the linker generate an entry in __TI_cinit_table to initialize 'const'
__TI_cinit_table @ 822b71b8 records: 10, size/record: 8, table size: 80
.const: load addr=822b1720, load size=0000524a bytes, run addr=80024040, run size=00005ac8 bytes, compression=rle
GanZ