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