Search: in
Application binary interface
Application binary interface in Encyclopedia Encyclopedia
  Tutorials     Encyclopedia     Videos     Books     Software     DVDs  
       





Application binary interface

In computer software, an application binary interface (ABI) describes the low-level interface between an application (or any type of) program and the operating system or another application.

Contents


Description

ABIs cover details such as:

  • data type, size, and alignment
  • the calling convention, which controls how functions' arguments are passed and return values retrieved
  • the system call numbers and how an application should make system calls to the operating system
  • and in the case of a complete operating system ABI, the binary format of object files, program libraries and so on.

A complete ABI, such as the Intel Binary Compatibility Standard (iBCS),[1] allows a program from one operating system supporting that ABI to run without modifications on any other such system, provided that necessary shared libraries are present, and similar prerequisites are fulfilled.

Other ABIs standardize details such as the C++ name mangling,[2] exception propagation,[3] and calling convention between compilers on the same platform, but do not require cross-platform compatibility.

An ABI should not be confused with an application programming interface (API) which defines a library of routines to call, data structures to manipulate, and/or object classes to use in the construction of an application using that particular (often language specific) API.

EABI

An embedded-application binary interface (EABI) specifies standard conventions for file formats, data types, register usage, stack frame organization, and function parameter passing of an embedded software program.

Compilers that support the EABI create object code that is compatible with code generated by other such compilers, thus allowing developers to link libraries generated with one compiler with object code generated with a different compiler. Developers writing their own assembly language code may also use the EABI to interface with assembly generated by a compliant compiler.

The main differences of an EABI with respect to an ABI for general purpose operating systems are that privileged instructions are allowed in application code, dynamic linking is not required (sometimes it is completely disallowed), and a more compact stack frame organization is used to save memory.[4]

Widely used EABIs include PowerPC[5] , ARM EABI2 and MIPS MIPS EABI.

Chosing the correct EABI can affect performance.[6][7]

See also

References

External links

cs:ABI de:Bin rschnittstelle fr:Application binary interface ko: it:Application binary interface ja:Application Binary Interface no:Bin rkompatibilitet pl:Application Binary Interface pt:Interface bin ria de aplica o ru: fi:ABI zh:






Source: Wikipedia | The above article is available under the GNU FDL. | Edit this article



Search for Application binary interface in Tutorials
Search for Application binary interface in Encyclopedia
Search for Application binary interface in Videos
Search for Application binary interface in Books
Search for Application binary interface in Software
Search for Application binary interface in DVDs
Search for Application binary interface in Store




Advertisement




Application binary interface in Encyclopedia
Application_binary_interface top Application_binary_interface

Home - Add TutorGig to Your Site - Disclaimer

©2011-2013 TutorGig.info All Rights Reserved. Privacy Statement