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

.bss SECTION 编译报错

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

我用的平台是C6678,所有section都放在MSMC中。

Yan Lin:

.bss段存放的是near类寻址的数据,我猜你的cmd文件里头,没有将

.neardata .rodata .bss

这三个段GROUP到一块,如下

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

赞(0)
未经允许不得转载:TI中文支持网 » .bss SECTION 编译报错
分享到: 更多 (0)