码迷,mamicode.com
首页 > 其他好文 > 详细

ABI and compiler

时间:2017-05-20 17:17:27      阅读:358      评论:0      收藏:0      [点我收藏+]

标签:int   detail   arch   nts   binary   control   alignment   process   ons   

http://stackoverflow.com/questions/2171177/what-is-application-binary-interface-abi

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;

ABIs may be defined at the processor-architecture level or at the OS level. the ABIs are standards to be followed by the code-generator phase of the compiler. the standard is fixed either by the OS or by the processor.

functionality: define the mechanism/standard to make function calls independent of the implementation language or a specific compiler/linker/toolchain. provide the mechanism which allows JNI, or python-c interface etc

ABI and compiler

标签:int   detail   arch   nts   binary   control   alignment   process   ons   

原文地址:http://www.cnblogs.com/feng9exe/p/6882471.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!