TI中文支持网
TI专业的中文技术问题搜集分享网站

编译警告

CCS版本是5.4,出现如下警告,对程序运行有影响吗,谢谢!

**** Build of configuration Debug for project emif16_boot1 ****

"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all'Building target: emif16_boot1.out'
'Invoking: C6000 Linker'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/bin/cl6x" -mv6600 –abi=eabi -g –display_error_number –diag_warning=225 –diag_wrap=off -z -m"emif16_boot1.map" -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/lib" -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/include" –reread_libs –warn_sections –display_error_number –diag_wrap=off –xml_link_info="emif16_boot1_linkInfo.xml" –rom_model -o "emif16_boot1.out" "./src/pll.obj" "./src/norflash.obj" "./src/main.obj" "./src/emif16.obj" "./boot.obj" -l"libc.a" "../boot.cmd"<Linking>
warning #10278-D: LOAD placement specified for section ".text:decompress:none:__TI_decompress_none:rts6600_elf.lib<copy_decompress_none.obj>". This section contains decompression routines required for linker generated copy tables and C/C++ auto-initialization. Must ensure that this section is copied to run address before the C/C++ boot code is executed or is placed with single allocation specifier (ex. "> MEMORY").
warning #10278-D: LOAD placement specified for section ".text:memcpy:rts6600_elf.lib<memcpy64.obj>". This section contains decompression routines required for linker generated copy tables and C/C++ auto-initialization. Must ensure that this section is copied to run address before the C/C++ boot code is executed or is placed with single allocation specifier (ex. "> MEMORY").
warning #10278-D: LOAD placement specified for section ".text:decompress:rle24:__TI_decompress_rle24:rts6600_elf.lib<copy_decompress_rle.obj>". This section contains decompression routines required for linker generated copy tables and C/C++ auto-initialization. Must ensure that this section is copied to run address before the C/C++ boot code is executed or is placed with single allocation specifier (ex. "> MEMORY").
warning #10278-D: LOAD placement specified for section ".text:__TI_decompress_rle_core:rts6600_elf.lib<copy_decompress_rle.obj>". This section contains decompression routines required for linker generated copy tables and C/C++ auto-initialization. Must ensure that this section is copied to run address before the C/C++ boot code is executed or is placed with single allocation specifier (ex. "> MEMORY").
'Finished building target: emif16_boot1.out'
' '

**** Build Finished ****

Jane Lu:

Xiaozhang,

            请把cmd 文件和map文件用附件的形式贴上了看一下,谢谢!

Nick Zhang~:

回复 Jane Lu:

附件是map和cmd文件。

谢谢了!

Jane Lu:

回复 Nick Zhang~:

Xiaozhang,

             从cmd文件以及map文件可以看到,下面三个段只有加载地址,没有实际运行地址。 最简单的方法是把cmd文件中的语句 “load >” 该改为 “>"。

    GROUP (NEAR_DP)    {    .neardata    .rodata     .bss    } load > L2SRAM

赞(0)
未经允许不得转载:TI中文支持网 » 编译警告
分享到: 更多 (0)