This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I'm trying to build a project with several C and assembly files in CCSv5.1.1, all of which are linked to the project source, but the linker is unable to resolve some symbols.
If a symbol is defined in a C file, the assembly file is unable to resolve it even if it is defined to be a .global symbol in the assembly file, (.ref doesn't seem to work as well).
Can anybody suggest a possible solution?
Jasmeet,
Are you building for EABI or COFF ABI? The assembly symbol name mangling is different between the 2 ABIs, thus would require some changes when working with intermixed C/ASM code. Please see this wiki article for details. If this does not help resolve the error, please provide more details, such as the C and asm source code, which symbols are unresolved and the build options used.
Thanks for your support.
Changing few symbol names in the assembly file helped. I'm using EABI.