Where is the x86-64 System V ABI documented?

前端 未结 3 2185
春和景丽
春和景丽 2020-11-22 04:26

The x86-64 System V ABI (used on everything except Windows) used to live at http://x86-64.org/documentation/abi.pdf, but that site has now fallen off the internet.

I

3条回答
  •  名媛妹妹
    2020-11-22 04:58

    Linux standard base

    The Linux Standard Base, which can be considered by some the authoritative spec for this matter, has section called 7.2. "Function Calling Sequence" points to the 2.1. "Normative References section" which contains the following links:

    • System V Application Binary Interface, Edition 4.1 http://www.sco.com/developers/devspecs/gabi41.pdf
    • System V Application Binary Interface - DRAFT - 17 December 2003 http://www.sco.com/developers/gabi/2003-12-17/contents.html
    • System V Application Binary Interface AMD64 Architecture Processor Supplement, Draft Version 0.95 http://refspecs.linux-foundation.org/elf/x86_64-abi-0.95.pdf

    I would therefore recommend using those versions of the specifications as the canonical ones unless you have good reason to do otherwise.

提交回复
热议问题