Hi,
I am running an XDAIS compliant algorithm on PADK and am getting below warning:
"xyz.c", line 164 (approximate): warning: relocation type is static base-relative, but references symbol "_xyz_abc_a1" defined in section ".far"; references to section ".far" are not relative to any static base, so this relocation cannot be performed (type = 'R_C60BASE' (80), file = "algLib\temp.lib<xyz.obj>", offset = 0x0000052c, section = ".text:filter")
Variable "xyz_abc_a1" is defined as global
#pragma DATA_SECTION(xyz_abc_a1, ".far:temp_obj")
float xyz_abc_a1;
I am ot sure why I am getting above warning. If I put the varaible "xyz_abc_a1" in bss section, the warning goes away, but then the algorithm doesnt remain XDAIS compliant (as a rule for XDAIS compliant says that all the global variables should be in far or const section)
Please let me know if someone has any ideas.
Thanks
Megha