Skip to content

Commit 0e0a1c5

Browse files
committed
[aaelf64] Fix PAuthABI relocation details.
There is a typo in the spelling of R_<CLS_ABS64, it is missing a close angle brackets, and should be R_<CLS>_ABS64. Similarly there should only be one entry in the dynamic relocation table, with R_<CLS>_ABS64 retaining the static relocation code but using the dynamic relocation semantics. Added a clarifying line to state that the R_<CLS>_ABS64 is both a static and dynamic relocation.
1 parent 201a7cb commit 0e0a1c5

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

aaelf64/aaelf64.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1702,7 +1702,7 @@ For details on the relocations and operations see `PAUTHABIELF64`_.
17021702
+------------+------------+---------------------------------+----------------------------------+-----------------------------------------------------+
17031703
| ELF64 Code | ELF32 Code | Name | Operation | Comment |
17041704
+============+============+=================================+==================================+=====================================================+
1705-
| 580 | \- | R\_<CLS\_AUTH\_ABS64 | PAUTH(S+A) | See `PAUTHABIELF64`_ |
1705+
| 580 | \- | R\_<CLS>\_AUTH\_ABS64 | PAUTH(S+A) | See `PAUTHABIELF64`_ |
17061706
+------------+------------+---------------------------------+----------------------------------+-----------------------------------------------------+
17071707

17081708
Dynamic relocations
@@ -1721,7 +1721,7 @@ The dynamic relocations for those execution environments that support only a lim
17211721
+------------+------------+--------------------------+---------------------------------+-------------------------------------------+
17221722
| \- | 1 | R\_<CLS>\_ABS32 | S + A | See note below. |
17231723
+------------+------------+--------------------------+---------------------------------+-------------------------------------------+
1724-
| 580 | \- | R\_<CLS\_AUTH\_ABS64 | PAUTH(S + A) | See note below. |
1724+
| 580 | \- | R\_<CLS>\_AUTH\_ABS64 | SIGN(S + A, SCHEMA(\*P)) | See note below. |
17251725
+------------+------------+--------------------------+---------------------------------+-------------------------------------------+
17261726
| 1024 | 180 | R\_<CLS>\_COPY | | See note below. |
17271727
+------------+------------+--------------------------+---------------------------------+-------------------------------------------+
@@ -1745,8 +1745,6 @@ The dynamic relocations for those execution environments that support only a lim
17451745
+------------+------------+--------------------------+---------------------------------+-------------------------------------------+
17461746
| 1032 | 188 | R\_<CLS>\_IRELATIVE | Indirect(Delta(S) + A) | See note below. |
17471747
+------------+------------+--------------------------+---------------------------------+-------------------------------------------+
1748-
| 1040 | \- | R\_<CLS>\_AUTH\_ABS64 | SIGN(S + A, SCHEMA(\*P)) | See note below. |
1749-
+------------+------------+--------------------------+---------------------------------+-------------------------------------------+
17501748
| 1041 | \- | R\_<CLS>\_AUTH\_RELATIVE | SIGN(DELTA(S) + A, SCHEMA(\*P)) | See note below. |
17511749
+------------+------------+--------------------------+---------------------------------+-------------------------------------------+
17521750

@@ -1780,7 +1778,7 @@ Relocations ``R_AARCH64_TLS_DTPREL``, ``R_AARCH64_TLS_DTPMOD`` and ``R_AARCH64_T
17801778

17811779
It is implementation defined whether ``R_<CLS>_TLS_IMPDEF1`` implements ``R_<CLS>_TLS_DTPREL`` and ``R_<CLS>_TLS_IMPDEF2`` implements ``R_<CLS>_TLS_DTPMOD`` or whether ``R_<CLS>_TLS_IMPDEF1`` implements ``R_<CLS>_TLS_DTPMOD`` and ``R_<CLS>_TLS_IMPDEF2`` implements ``R_<CLS>_TLS_DTPREL``; a platform must document its choice\ [#aaelf64-f1]_.
17821780

1783-
``R\_<CLS\_AUTH\_ABS64``, ``R\_<CLS>\_AUTH\_ABS64`` and ``R\_<CLS>\_AUTH\_RELATIVE`` are part of the PAuth ABI Extension. For details on the relocations and operations see `PAUTHABIELF64`_.
1781+
``R\_<CLS>\_AUTH\_ABS64`` and ``R\_<CLS>\_AUTH\_RELATIVE`` are part of the PAuth ABI Extension. For details on the relocations and operations see `PAUTHABIELF64`_. Note that ``R\_<CLS>\_AUTH\_ABS64`` is both a static and a dynamic relocation.
17841782

17851783
Private and platform-specific relocations
17861784
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)