From f58056e12ccfe6f985e0f7fabd305cd9aae0d926 Mon Sep 17 00:00:00 2001 From: Peter Smith Date: Wed, 3 Apr 2024 08:54:36 +0100 Subject: [PATCH] [pauthabi64] Remove relocation RAARCH64_AUTH_GOT_ADD_LO12_NC 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 https://github.com/ARM-software/abi-aa/issues/253 --- pauthabielf64/pauthabielf64.rst | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pauthabielf64/pauthabielf64.rst b/pauthabielf64/pauthabielf64.rst index 2bf32f6..e97218e 100644 --- a/pauthabielf64/pauthabielf64.rst +++ b/pauthabielf64/pauthabielf64.rst @@ -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