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.
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?
Please mark this post as answered via the Verify Answer button below if you think it answers your question. Thanks!
Are you using EABI or COFF ABI?
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
Are you building for EABI? If so, assembly symbol names are not prepended with the underscore (differently than COFF ABI where they are). Please see this wiki page which describes the difference between COFF ABI and EABI and ways to handle this difference in naming:http://processors.wiki.ti.com/index.php/C6000_EABI_Migration#Assembly_Code_Changes_.28C_and_C.2B.2B_ABI_Changes.29
Please click This Resolved My Issue if the reply answers your question.
Search the wikis for common questions: Compiler, CCSv6, CCSv7Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.