Skip to content

Commit

Permalink
[pauthabi64] Remove relocation RAARCH64_AUTH_GOT_ADD_LO12_NC
Browse files Browse the repository at this point in the history
There is no equivalent for this relocation in the standard ABI
it could be used for runtime code to calculate the address of
a GOT slot in a similar way to obtaining the address of a
static data item. However there is no way to express the
address of a GOT slot in source code, and the compiler can
use a load to get the contents of the GOT slot directly
without first calculating the address.

Part of #253
  • Loading branch information
smithp35 committed Apr 3, 2024
1 parent 12ca746 commit f58056e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pauthabielf64/pauthabielf64.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1163,10 +1163,6 @@ The GOT entries must be relocated by AUTH variant dynamic relocations.
| | | | X; check that 0 <= X < |
| | | | 2\ :sup:`15` |
+-------------+----------------------------------------+----------------------------------+--------------------------+
| 0x811C | R\AARCH64\_AUTH\_GOT\_ADD_LO12_NC | G(ENCD(GDAT(S + A))) | Set an ADD immediate |
| | | | value to bits [11:0] of |
| | | | X. No overflow check. |
+-------------+----------------------------------------+----------------------------------+--------------------------+

.. raw:: pdf
Expand Down

0 comments on commit f58056e

Please sign in to comment.