aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/o_elf.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2026-03-26 10:52:15 +0100
committerlemon <lsof@mailbox.org>2026-03-26 10:52:15 +0100
commit20dc93c4473a5d5a53462fff09a74b2839d10d6b (patch)
treefc2f2cef08c3b12b4878a4bae86f249f9e4fa9d2 /src/o_elf.c
parent9caddc7b3a2286cb45128c0b7374c92d482df1fa (diff)
aarch64: GOT relocations
Diffstat (limited to 'src/o_elf.c')
-rw-r--r--src/o_elf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/o_elf.c b/src/o_elf.c
index aae0c3f..58edd84 100644
--- a/src/o_elf.c
+++ b/src/o_elf.c
@@ -155,7 +155,8 @@ static const ushort relktab[][NRELOCKIND] = {
[REL_ADR_PREL_LO21] = 274, /* R_AARCH64_ADR_PREL_LO21 */
[REL_ADR_PREL_PG_HI21] = 276, /* R_AARCH64_ADR_PREL_PG_HI21_NC */
[REL_ADD_ABS_LO12_NC] = 277, /* R_AARCH64_ADD_ABS_LO12_NC */
-
+ [REL_ADR_GOT_PAGE] = 311, /* R_AARCH64_ADR_GOT_PAGE */
+ [REL_LD64_GOT_LO12_NC] = 312, /* R_AARCH64_LD64_GOT_LO12_NC */
}
};