SPRU514Z July 2001 – October 2023 SM320F28335-EP
An Application Binary Interface (ABI) defines the low level interface between object files, and between an executable and its execution environment. An ABI allows ABI-compliant object files to be linked together, regardless of their source, and allows the resulting executable to run on any system that supports that ABI.
Object files conforming to different ABIs cannot be linked together. The linker detects this situation and generates an error.
The C28x compiler supports two ABIs. The ABI is chosen through the --abi option as follows:
--abi=coffabi
) The COFF ABI is the original ABI format. It
is the default.--abi=eabi
) Use this option to select the C28x Embedded
Application Binary Interface (EABI).All code in an application must be built for the same ABI. Make sure all your libraries are available in EABI mode before migrating COFF ABI applications to EABI.
For more details on the ABI, see Section 6.11.