C674x compiler: Mixed C and Assembly library link errors

We have an issue while trying to compile .asm files on the C674X DSP,

We have a DSP out file, which depend on a certain lib (coded in assembly), the issues is:

When I have a .asm file which is compiled in the lib -> while linking the DSP out file, I’m getting undefined symbols (on the function in the .asm file)

When I move the .asm file to compile as part of the DSP out makefile, I’m getting the same result

When I move the .asm file to compile as part of the DSP out makefile AND change the function prefix (removing all ‘_’ at the beginning of the function name in the .asm file), all is OK

Is there any compiler option to allow taking '_' prefixed assembly functions and linking with C code?

 

2 Replies