Hi,
I took asm & c code that worked with DSP/BIOS and tried to compile it with SYS/BIOS.
I got the below errors.
How can this be solved?
1) Temp1.c:
#pragma DATA_SECTION(CharArray, "TempSection")
char CharArray[4];
2) Temp2.asm,
.ref CharArray
lines 64-65:
MVKL CharArray & (~7), B1
MVKH CharArray & (~7), B1
3) cl6x -mv6740 --abi=eabi ./Temp2.asm
Output:
"./Temp2.asm", WARNING! at line 64: [W1500] warning: relocation template 275
not found; returning OFR_INVALID
MVKL _CharArray & (~7), B1
"./Temp2.asm", WARNING! at line 64: [W1500] warning: relocation template 276
not found; returning OFR_INVALID
MVKL _CharArray & (~7), B1
"./Temp2.asm", WARNING! at line 64: [W1500] warning: relocation template 267
not found; returning OFR_INVALID
MVKL _CharArray & (~7), B1
"./Temp2.asm", ERROR! at line 65: [E0200] Unable to resolve this relocatable
expression; relocation support for
arbitrary expressions is not
available in the C6000 EABI
MVKH _CharArray & (~7), B1
Thanks,
Gilad