From 01f97f3dcba1640e7291d09ecb5ec71216f906b1 Mon Sep 17 00:00:00 2001 From: Peter Smith Date: Wed, 3 Apr 2024 08:54:36 +0100 Subject: [PATCH] [pauthabi64] Add note for RAARCH64_AUTH_GOT_ADD_LO12_NC There is no equivalent for this relocation in the standard ABI it is used by runtime code to calculate the address of a GOT slot so it can be used as one of the inputs to an authenticate instruction. Add a note that this matches up with the :got_auth_lo12: operator for future reference. Part of https://github.com/ARM-software/abi-aa/issues/253 --- pauthabielf64/pauthabielf64.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pauthabielf64/pauthabielf64.rst b/pauthabielf64/pauthabielf64.rst index 134f411..ea93071 100644 --- a/pauthabielf64/pauthabielf64.rst +++ b/pauthabielf64/pauthabielf64.rst @@ -1157,7 +1157,6 @@ The GOT entries must be relocated by AUTH variant dynamic relocations. | | | | value to bits [11:0] of | | | | | X. No overflow check. | +-------------+----------------------------------------+----------------------------------+--------------------------+ - .. raw:: pdf PageBreak @@ -1171,7 +1170,9 @@ is the PAuth ABI equivalent of ``R_AARCH64_RELATIVE``. The underlying calculation performed by the dynamic linker is the same, the only difference is that the resulting pointer is signed. The dynamic linker reads the signing schema from the contents of the place of the dynamic -relocation. +relocation. The ``R_AARCH64_AUTH_GOT_ADD_LO12_NC`` relocation is an +addition for the PAuth ABI and has no equivalent in (AAELF64_). It is +used with the ``:got_auth_lo12:`` operator on an add instruction. .. table:: Additional AUTH Dynamic relocations