64-Bit ELF V2 ABI Specification Power Architecture System Software Work Group syssw-chair@openpowerfoundation.org IBM 2014-2020 OpenPOWER Foundation 1999,2003, 2004, 2013, 2014 IBM Corporation 2011 Power.org 2003, 2004 Free Standards Group 2002 Freescale Semiconductor, Inc Revision 1.5k draft OpenPOWER Copyright details are filled in by the template. The Executable and Linking Format (ELF) defines a linking interface for executables and shared objects in two parts: the first part is the generic System V ABI, the second part is a processor-specific supplement. This document, the OpenPOWER ABI for Linux Supplement for the Power Architecture 64-bit ELF V2 ABI, is the OpenPOWER-compliant processor-specific supplement for use with ELF V2 on 64-bit IBM Power Architecture® systems. This is not a complete System V ABI supplement because it does not define any library interfaces. This document establishes both big-endian and little-endian application binary interfaces. OpenPOWER-compliant processors in the 64-bit Power Architecture can execute in either big-endian or little-endian mode. Executables and executable-generated data (in general) that subscribes to either byte ordering is not portable to a system running in the other mode. This document is a Standards Track, Work Group work product owned by the System Software Workgroup and handled in compliance with the requirements outlined in the OpenPOWER Foundation Work Group (WG) Process document. It was created using the Master Template Guide version 1.0. Comments, questions, etc. can be submitted to the public mailing list for this document at syssw-elfv2abi@mailinglist.openpowerfoundation.org. 2020-05-21 Revision 1.5k: Address recorded issues. 2019-12-11 Revision 1.5j: Back out prefix28 uses. 2019-04-16 Revision 1.5i: Changes from compiler workshop. 2019-02-01 Revision 1.5h: PC-relative addressing eighth draft. 2018-10-02 Revision 1.5g: PC-relative addressing seventh draft. 2018-07-20 Revision 1.5f: PC-relative addressing sixth draft. 2018-05-21 Revision 1.5e: PC-relative addressing fifth draft. 2018-05-10 Revision 1.5d: PC-relative addressing fourth draft. 2018-04-28 Revision 1.5c: PC-relative addressing third draft. 2018-04-13 Revision 1.5b: PC-relative addressing second draft. 2018-03-14 Revision 1.5a: PC-relative addressing first draft. 2017-05-10 Revision 1.4: Conversion from FrameMaker to DocBook, minor corrections. 2016-06-13 Revision 1.3: POWER9 support. 2016-06-13 Revision 1.2: POWER8 errata. 2015-07-16 Revision 1.1: Incorporate errata. 2014-07-21 Revision 1.0: Initial release.