I am trying to call an assembly route from C, following the example project "Calling Assembly from C (ADSP-21469)" from CCES 126.96.36.199. As the name indicates, this project was created for the 21469. As is, it builds fine. I then switched the processor type to 21584 and built it. I got this linker error:
'Building target: C_calls_asm.dxe'
'Invoking: CrossCore SHARC Linker'
cc21k.exe -proc ADSP-21584 -si-revision 1.0 -TC:/projects/SymNet-AirTools/DSP/CrossCore/examples/crosscore_188.8.131.52/Calling\ Assembly\ from\ C\ (ADSP-21469)/system/startup_ldf/app.ldf -no-mem -LC:/projects/SymNet-AirTools/DSP/CrossCore/examples/crosscore_184.108.40.206/Calling\ Assembly\ from\ C\ (ADSP-21469)/Debug/system/startup_ldf -flags-link -MDDEBUG,-MDCORE1 -add-debug-libpaths -o C_calls_asm.dxe @input-file.txt -flags-link -od,.\.
[Error li1021] The following symbols referenced in processor '21584_CORE_1' could not be resolved:
'dotprod [dotprod.]' referenced from 'src\caller.doj'
Linker finished with 1 error
cc3089: fatal error: Link failed (code:1)
make: *** [C_calls_asm.dxe] Error 1
This is the same problem I'm having in my own code. Has something changed between 214xx and 215xx in regard to how you call assembly? It's an extremely simple example.
I've attached the example project with the processor changed to 21584.