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.

CCS5.4编译链接时出现如下告警该如何解决?



请教:

是这样的:CCS5.4编译链接时出现如下告警该如何解决?网上说建立一个GROUP ,但是CCS5.4 工程里没有CMD文件,只有cfg文件,以下设置该加到哪里去呢?

请TI专家帮忙看看,谢谢!

GROUP (NEAR_DP_RELATIVE)
{
    .neardata
    .rodata
    .bss
} > BMEM

 

 

****************

<Linking>

warning #10281-D: Section ".bss" requires a STATIC_BASE relative relocation, but is located at 0x0081ba80, which is probably out of range of the STATIC_BASE. STATIC_BASE is located at 0x0081ba80. Might be required to correct   placement of ".bss" so it lies within 0x8000 of the STATIC_BASE.

warning #10281-D: Section ".neardata" requires a STATIC_BASE relative relocation, but is located at 0x00823cf8, which is probably out of range of the STATIC_BASE. STATIC_BASE is located at 0x0081ba80. Might be required to correct   placement of ".neardata" so it lies within 0x8000 of the STATIC_BASE.

warning #10281-D: Section ".rodata" requires a STATIC_BASE relative relocation, but is located at 0x00823d34, which is probably out of range of the STATIC_BASE. STATIC_BASE is located at 0x0081ba80. Might be required to correct   placement of ".rodata" so it lies within 0x8000 of the STATIC_BASE.

warning #10281-D: Section ".bss" requires a STATIC_BASE relative relocation, but is located at 0x0081ba80, which is probably out of range of the STATIC_BASE. STATIC_BASE is located at 0x0081ba80. Might be required to correct   placement of ".bss" so it lies within 0x8000 of the STATIC_BASE.

warning #10281-D: Section ".neardata" requires a STATIC_BASE relative relocation, but is located at 0x00823cf8, which is probably out of range of the STATIC_BASE. STATIC_BASE is located at 0x0081ba80. Might be required to correct   placement of ".neardata" so it lies within 0x8000 of the STATIC_BASE.

warning #10281-D: Section ".rodata" requires a STATIC_BASE relative relocation, but is located at 0x00823d34, which is probably out of range of the STATIC_BASE. STATIC_BASE is located at 0x0081ba80. Might be required to correct   placement of ".rodata" so it lies within 0x8000 of the STATIC_BASE.

'Finished building target: hyplnk_exampleProject.out'

' '

 

  •  

    查看工程自动生成的memory文件,它已经加了group,看来不是group的问题。

     

    SECTIONS
    {
        .text: load >> MSMCSRAM
        .ti.decompress: load > L2SRAM
        .stack: load > L2SRAM
        GROUP: load > L2SRAM
        {
            .bss:
            .neardata:
            .rodata:
        }
        .cinit: load > L2SRAM
  • lei wang22 说:

    请教:

    是这样的:CCS5.4编译链接时出现如下告警该如何解决?网上说建立一个GROUP ,但是CCS5.4 工程里没有CMD文件,只有cfg文件,以下设置该加到哪里去呢?

    请TI专家帮忙看看,谢谢!

    GROUP (NEAR_DP_RELATIVE)
    {
        .neardata
        .rodata
        .bss
    } > BMEM
    

     

     

    ****************

    <Linking>

    warning #10281-D: Section ".bss" requires a STATIC_BASE relative relocation, but is located at 0x0081ba80, which is probably out of range of the STATIC_BASE. STATIC_BASE is located at 0x0081ba80. Might be required to correct   placement of ".bss" so it lies within 0x8000 of the STATIC_BASE.

    warning #10281-D: Section ".neardata" requires a STATIC_BASE relative relocation, but is located at 0x00823cf8, which is probably out of range of the STATIC_BASE. STATIC_BASE is located at 0x0081ba80. Might be required to correct   placement of ".neardata" so it lies within 0x8000 of the STATIC_BASE.

    warning #10281-D: Section ".rodata" requires a STATIC_BASE relative relocation, but is located at 0x00823d34, which is probably out of range of the STATIC_BASE. STATIC_BASE is located at 0x0081ba80. Might be required to correct   placement of ".rodata" so it lies within 0x8000 of the STATIC_BASE.

    warning #10281-D: Section ".bss" requires a STATIC_BASE relative relocation, but is located at 0x0081ba80, which is probably out of range of the STATIC_BASE. STATIC_BASE is located at 0x0081ba80. Might be required to correct   placement of ".bss" so it lies within 0x8000 of the STATIC_BASE.

    warning #10281-D: Section ".neardata" requires a STATIC_BASE relative relocation, but is located at 0x00823cf8, which is probably out of range of the STATIC_BASE. STATIC_BASE is located at 0x0081ba80. Might be required to correct   placement of ".neardata" so it lies within 0x8000 of the STATIC_BASE.

    warning #10281-D: Section ".rodata" requires a STATIC_BASE relative relocation, but is located at 0x00823d34, which is probably out of range of the STATIC_BASE. STATIC_BASE is located at 0x0081ba80. Might be required to correct   placement of ".rodata" so it lies within 0x8000 of the STATIC_BASE.

    'Finished building target: hyplnk_exampleProject.out'

    ' '

     

    为什么没有cmd文件?

  • 我说的不对,CCS5.4 C6678工程有linker.cmd,其内部有GROUP的建立,但是问题依旧。

    GROUP (NEAR_DP_RELATIVE)
    {
        .neardata
        .rodata
        .bss
    } > BMEM