Tool/software: TI C/C++ Compiler
hi,all:
i met several problem concerned with DSP linker.cmd when building eve-dsp mailbox communication.
my dsp compiler is ti-cgt-c6000_8.3.6.
linker.cmd file is shown as follows:
SECTIONS
{
GROUP
{
.vects: {. = align(8);}
.l2_int: {. = align(8);}
.switch: {. = align(8);}
.const: {. += 0x100;}
.text: {. = align(4);}
.int_code: {. = align(4);}
.lib_code: {. = align(4);}
.sysinit: {. = align(4);}
.syssaram: {. = align(4);}
.cinit: {. = align(4);}
.pinit: {. = align(4);}
.data16: {. = align(2);}
.data: {. = align(2);}
.bss: {. = align(8);}
.far: {. = align(8);}
.sysmem: {. = align(16);}
gem_l2ram_usr_init: {. = align(8);}
gem_l2ram_usr_uninit: {. = align(8);}
.stack: {. = align(8);}/*栈区*/
.sysstack: {. = align(8);}
.cio: {. = align(8);}
} > L2RAM
SectionSync: load = SYNC_AREA
GEM1L2_data: > L2DATA
}
The problem are shoown as follows:
1、warning: Symbol "__STACK_SIZE" is a COFFABI symbol deprecated in EABI; use EABI
symbol "__TI_STACK_SIZE" instead. For additional information
2、warning: Symbol "$bss" is a COFFABI symbol deprecated in EABI; use EABI symbol
"__TI_STATIC_BASE" instead.
3、warning: "GROUP_1" contains both ".cinit" and ".far"; compression "rle" can not
be performed for ".far"
4、warning: output section ".fardata" refers to load symbol "_sys_memory" and
hence cannot be compressed; compression "rle" is ignored
5、fatal error: illegal attempt to place ".cinit" before ".far" in "GROUP_1"
i Understand the first two warnings, but i really do not understand waring 3 and 4 (.cinit" and ".far can not be put together? rle can not compress .fardata?), and error 5 confuse me.
how to solve these problems?
thanks
hailiang