Skip to content

Commit 01f97f3

Browse files
committed
[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 ARM-software#253
1 parent f1cbe13 commit 01f97f3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pauthabielf64/pauthabielf64.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,6 @@ The GOT entries must be relocated by AUTH variant dynamic relocations.
11571157
| | | | value to bits [11:0] of |
11581158
| | | | X. No overflow check. |
11591159
+-------------+----------------------------------------+----------------------------------+--------------------------+
1160-
11611160
.. raw:: pdf
11621161

11631162
PageBreak
@@ -1171,7 +1170,9 @@ is the PAuth ABI equivalent of ``R_AARCH64_RELATIVE``. The underlying
11711170
calculation performed by the dynamic linker is the same, the only
11721171
difference is that the resulting pointer is signed. The dynamic linker
11731172
reads the signing schema from the contents of the place of the dynamic
1174-
relocation.
1173+
relocation. The ``R_AARCH64_AUTH_GOT_ADD_LO12_NC`` relocation is an
1174+
addition for the PAuth ABI and has no equivalent in (AAELF64_). It is
1175+
used with the ``:got_auth_lo12:`` operator on an add instruction.
11751176

11761177
.. table:: Additional AUTH Dynamic relocations
11771178

0 commit comments

Comments
 (0)