首页 > 其他 > 详细

ABI and compiler

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

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!