问:ADI算法库使用问题我在使用BF609第二个核进行编译时,编译器弹出一个警告如下:
Description Resource
Path Location
Type
li2131:
Input section(s) of incompatible init qualifier detected in the output section
'L1_data_a_custom'
app.ldf
/Core1/system/startup_ldf
line 335
C/C++ Problem
li2131:
Input section(s) of incompatible init qualifier detected in the output section
'sdram_bank0_custom'
app.ldf
/Core1/system/startup_ldf
line 943
C/C++ Problem
core1的ldf文件,我使用的是默认的ldf文件,ldf文件中关于'L1_data_a_custom'和'sdram_bank0_custom'描述如下:
L1_data_a_custom
{
INPUT_SECTION_ALIGN(4)
INPUT_SECTIONS($OBJECTS_LIB(adi_fastb0_prio1_r))
INPUT_SECTIONS($OBJECTS_LIB(adi_fastb0_prio1_rw))
INPUT_SECTIONS($OBJECTS_LIB(adi_fastb0_prio0_rw))
INPUT_SECTIONS($OBJECTS_LIB(adi_fastb0_prio0_temp))
INPUT_SECTIONS($OBJECTS_LIB(adi_fastb0_prio0_r))
INPUT_SECTIONS($OBJECTSVATDLB(adi_fastb0_prio0_r))
} > MEM_L1_DATA_A
sdram_bank0_custom
{
INPUT_SECTIONS($OBJECTS(adi_slow_noprio_code))
INPUT_SECTIONS($OBJECTS(adi_slow_prio0_code))
INPUT_SECTIONS($OBJECTS(program))
INPUT_SECTIONS($OBJECTS(adi_slow_prio0_r))
INPUT_SECTIONS($OBJECTS(constdata))
INPUT_SECTIONS($OBJECTS(data1))
INPUT_SECTIONS($OBJECTS_LIB(adi_slow_prio0_rw))
INPUT_SECTIONS($OBJECTS_LIB(adi_slow_prio0_temp))
} > MEM_SDRAM_BANK0
请问这个warning是如何引起的?如何修改可以去掉这个warning?