Skip to content

Commit

Permalink
[pauthabielf64] Fix typo in relocation name
Browse files Browse the repository at this point in the history
As pointed out in #253
the R_AARCH64_AUTH_GOT_LO12_NC is meant to be the AUTH variant of
R_AARCH64_LD64_GOT_LO12_NC. As there is also a
R_AARCH64_LD32_GOT_LO12_NC relocation rename the relocation to
R_AARCH64_LD64_AUTH_GOT_LO12_NC.

These relocations are in the appendix as we are currently
expecting the GOT to be RELRO and unsigned in most signing schemas.
  • Loading branch information
smithp35 committed Jul 2, 2024
1 parent 29f4a4d commit f1cbe13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pauthabielf64/pauthabielf64.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,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 Down

0 comments on commit f1cbe13

Please sign in to comment.