Dear all,
While I am trying to migrate C54 project to C55 I got some linker errors like below . What may be the reason for these?
***********************Console Output Start******************************
error #10255-D: cannot place data input section "./x2.obj(.data)" in text output section ".data"
error #10255-D: cannot place data input section "./rr2.obj(.data:.text)" in text output section ".data"
error #10255-D: cannot place data input section "./rr1.obj(.data:.text)" in text output section ".data"
error #10255-D: cannot place data input section "./x1.obj(.data)" in text output section ".data"
************************Console Output End*****************************
Here is my .cmd file
************************Cmd File Start*****************************
MEMORY
{
MMR: o = 0x000000 l = 0x0000c0
DARAM0: o = 0x0000C0 l = 0x001F40
DARAM1: o = 0x002000 l = 0x002000
DARAM2: o = 0x004000 l = 0x002000
SARAM0: o = 0x010000 l = 0x020000
VECS: o = 0xFFFF00 l = 0x000100
DARAM4: o = 0x006000 l = 0x00a000
SARAM1: o = 0x030000 l = 0x020000
ROM: o = 0xFE0000 l = 0x01FF00
}
SECTIONS
{
vectors (NOLOAD) > VECS
.cinit > DARAM0
.text > SARAM0
.stack > DARAM0
.sysstack > DARAM0
.sysmem > DARAM1
.data > SARAM1
.cio > DARAM0
.bss > DARAM2
.const > DARAM0
}
************************Cmd File End*****************************
x1.asm includes the below lines
************************x1.asm*****************************
.data
coeff .word 011h,022h,033h
.end
************************x1.asm*****************************
thanks and best regards
Ferhat