Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pauthabielf64] Fix typo in relocation name #255

Merged
merged 2 commits into from
Jul 2, 2024
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
7 changes: 4 additions & 3 deletions pauthabielf64/pauthabielf64.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@ The GOT entries must be relocated by AUTH variant dynamic relocations.
| | | | check that –2\ :sup:`32` |
| | | | <= X < 2\ :sup:`32` |
+-------------+----------------------------------------+----------------------------------+--------------------------+
| 0x811A | R\_AARCH64\_AUTH\_GOT\_LO12_NC | G(ENCD(GDAT(S + A))) | Set the LD/ST immediate |
| 0x811A | R\_AARCH64\_AUTH\_LD64\_GOT\_LO12_NC | G(ENCD(GDAT(S + A))) | Set the LD/ST immediate |
| | | | field to bits [11:3] of |
| | | | X. No overflow check; |
| | | | check that X&7 = 0 |
Expand All @@ -1167,7 +1167,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
Expand All @@ -1181,7 +1180,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

Expand Down
Loading