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

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'

' '

 

lei wang22:

 

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

 

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

rookiecalf:

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'

' '

 

lei wang22:

回复 rookiecalf:

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

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

赞(0)
未经允许不得转载:TI中文支持网 » CCS5.4编译链接时出现如下告警该如何解决?
分享到: 更多 (0)