Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 47 additions & 32 deletions aaelf64/aaelf64.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

.. _AAPCS64: https://github.com/ARM-software/abi-aa/releases
.. _Addenda32: https://github.com/ARM-software/abi-aa/releases
.. _BuildAttr64: https://github.com/ARM-software/abi-aa/releases
.. _MemtagABIELF64: https://github.com/ARM-software/abi-aa/releases
.. _PAuthABIELF64: https://github.com/ARM-software/abi-aa/releases
.. _SCO-ELF: http://www.sco.com/developers/gabi/
.. _LINUX_ABI: https://github.com/hjl-tools/linux-abi/wiki
Expand Down Expand Up @@ -303,6 +305,9 @@ changes to the content of the document for that release.
| 2026Q2 | 29\ :sup:`th` | - In `Call and Jump relocations`_ make |
| | | pc-relative relocaions signed. |
+---------------+--------------------+-----------------------------------------+
| 2026Q3 | 13\ :sup:`th` | - Add new section types defined in ELF |
| | | extension documents |
+---------------+--------------------+-----------------------------------------+

References
----------
Expand All @@ -311,33 +316,37 @@ This document refers to, or is referred to by, the following documents.

.. table::

+----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| Ref | External reference or URL | Title |
+================+===================================================================================================+=============================================================================+
| AAELF64 | Source for this document | ELF for the Arm 64-bit Architecture (AArch64). |
+----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| AAPCS64_ | IHI 0055 | Procedure Call Standard for the Arm 64-bit Architecture |
+----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| Addenda32_ | IHI 0045 | Addenda to, and Errata in, the ABI for the Arm Architecture |
+----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| PAuthABIELF64_ | pauthabielf64 | PAuth Extension to ELF for the Arm 64-bit Architecture |
+----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| LSB_ | http://www.linuxbase.org/ | Linux Standards Base |
+----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| SCO-ELF_ | http://www.sco.com/developers/gabi/ | System V Application Binary Interface – DRAFT |
+----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| LINUX_ABI_ | https://github.com/hjl-tools/linux-abi/wiki | Linux Extensions to gABI |
+----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| STRUCTPROT_ | https://discourse.llvm.org/t/rfc-structure-protection-a-family-of-uaf-mitigation-techniques/85555 | Structure Field Protection |
+----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| SYM-VER_ | http://people.redhat.com/drepper/symbol-versioning | GNU Symbol Versioning |
+----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| TLSDESC_ | http://www.fsfla.org/~lxoliva/writeups/TLS/paper-lk2006.pdf | TLS Descriptors for Arm. Original proposal document |
+----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| MTEEXTENSIONS_ | https://www.kernel.org/doc/html/latest/arch/arm64/memory-tagging-extension.html#core-dump-support | Linux Kernel MTE core dump format |
+----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| SYSVABI64_ | sysvabi64 | System V Application Binary Interface (ABI) for the Arm 64-bit Architecture |
+----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
+-----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| Ref | External reference or URL | Title |
+=================+===================================================================================================+=============================================================================+
| AAELF64 | Source for this document | ELF for the Arm 64-bit Architecture (AArch64). |
+-----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| AAPCS64_ | IHI 0055 | Procedure Call Standard for the Arm 64-bit Architecture |
+-----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| Addenda32_ | IHI 0045 | Addenda to, and Errata in, the ABI for the Arm Architecture |
+-----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| BuildAttr64_ | buildattr64 | Build Attributes for the Arm 64-bit Architecture |
+-----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| MemtagABIELF64_ | memtagabielf64 | Memtag ABI Extension to ELF for the Arm 64-bit Architecture |
+-----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| PAuthABIELF64_ | pauthabielf64 | PAuth Extension to ELF for the Arm 64-bit Architecture |
+-----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| LSB_ | http://www.linuxbase.org/ | Linux Standards Base |
+-----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| SCO-ELF_ | http://www.sco.com/developers/gabi/ | System V Application Binary Interface – DRAFT |
+-----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| LINUX_ABI_ | https://github.com/hjl-tools/linux-abi/wiki | Linux Extensions to gABI |
+-----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| STRUCTPROT_ | https://discourse.llvm.org/t/rfc-structure-protection-a-family-of-uaf-mitigation-techniques/85555 | Structure Field Protection |
+-----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| SYM-VER_ | http://people.redhat.com/drepper/symbol-versioning | GNU Symbol Versioning |
+-----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| TLSDESC_ | http://www.fsfla.org/~lxoliva/writeups/TLS/paper-lk2006.pdf | TLS Descriptors for Arm. Original proposal document |
+-----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| MTEEXTENSIONS_ | https://www.kernel.org/doc/html/latest/arch/arm64/memory-tagging-extension.html#core-dump-support | Linux Kernel MTE core dump format |
+-----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
| SYSVABI64_ | sysvabi64 | System V Application Binary Interface (ABI) for the Arm 64-bit Architecture |
+-----------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+

Terms and abbreviations
-----------------------
Expand Down Expand Up @@ -638,11 +647,17 @@ The defined processor-specific section types are listed in the below table. All

.. table:: Processor specific section types

+----------------------------+-----------------+----------------------------------------------------+
| Name | Value | Comment |
+============================+=================+====================================================+
| ``SHT_AARCH64_ATTRIBUTES`` | ``0x70000003`` | Reserved for Object file compatibility attributes |
+----------------------------+-----------------+----------------------------------------------------+
+----------------------------------------+-----------------+----------------------------------------------------------+
| Name | Value | Comment |
+========================================+=================+==========================================================+
| ``SHT_AARCH64_ATTRIBUTES`` | ``0x70000003`` | Object file compatibility attributes. See `BuildAttr64`_ |
+----------------------------------------+-----------------+----------------------------------------------------------+
| ``SHT_AARCH64_AUTH_RELR`` | ``0x70000004`` | Defined in ABI extension `PAuthABIELF64`_ |
+----------------------------------------+-----------------+----------------------------------------------------------+
| ``SHT_AARCH64_MEMTAG_GLOBALS_STATIC`` | ``0x70000007`` | Defined in ABI extension `MemtagABIELF64`_ |
+----------------------------------------+-----------------+----------------------------------------------------------+
| ``SHT_AARCH64_MEMTAG_GLOBALS_DYNAMIC`` | ``0x70000008`` | Defined in ABI extension `MemtagABIELF64`_ |
+----------------------------------------+-----------------+----------------------------------------------------------+


Section Attribute Flags
Expand Down
Loading