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.
Hi,
I am running a sample code on Omap-L138 eXperimenter kit. The code is debugged and compiled with no problem using Output format 'legacy COFF'. For some reasons I would like to switch to 'eabi(ELF)' output format but this cause errors. I would like to know what I need to modify in my code in order to run it with 'eabi(ELF)' output format.
Thanks in advance.
Regards,
Hi,
For some reasons I would like to switch to 'eabi(ELF)' output format but this cause errors. I would like to know what I need to modify in my code in order to run it with 'eabi(ELF)' output format.
Can you please attach a screenshot or the error that you're experiencing with elf file generation?
Regards,
Gautam
One of the key differences between COFF and EABI is in the naming with regards to using underscore. Please see http://processors.wiki.ti.com/index.php/C6000_EABI_Migration#COFF_Underscore_Name_Mangling for details.
Also note that if using EABI, all libraries that are part of the link should also be built for EABI. Libaries built for COFF cannot be mixed with libararies built for ELF. If you have any libraries added to your project, you need to make sure they are built for ELF as well.
Dear AartiG
Thanks a lot for your reply. It helped us to find the root of the problem. We are using OMAP L138 board and we want to use our filter program built on COFF format and the USB Startware Library built on ELF format in one project. The part that's not working with the ELF format is a header file on the OMAP-L138 Board Support Libraries(BSL) http://support.logicpd.com/ProductDownloads/OMAP-L138SOM-M1%28eXperimenterKit%29.aspx . The name of the hearder file is aic3106.h (it is used for the codec). We also have an interrupt file which is written in assembly language that was also written for COFF format. any idea or suggestions how to convert them to the ELF format.
regards
shauk khan
The wiki page I sent earlier captures all the considerations when migrating from COFF to EABI and tips for handling different situations. It is the best resource we have on this topic:
http://processors.wiki.ti.com/index.php/C6000_EABI_Migration