aboutsummaryrefslogtreecommitdiffhomepage
path: root/obj/elf.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-12-29 14:49:05 +0100
committerlemon <lsof@mailbox.org>2025-12-29 14:49:05 +0100
commit5559e5fc1f6c10d88eb32febc3a36a8fc2502d58 (patch)
treec475c3c4bf35eb3e6a177b191462834b28f2e35d /obj/elf.c
parent984486a87f37cbd0d6a31bee38c0bc05d86d5bf9 (diff)
more aarch64 work
Diffstat (limited to 'obj/elf.c')
-rw-r--r--obj/elf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/obj/elf.c b/obj/elf.c
index e39a8d8..8c63295 100644
--- a/obj/elf.c
+++ b/obj/elf.c
@@ -151,6 +151,9 @@ static const ushort relktab[][NRELOCKIND] = {
[REL_PCREL32] = 261, /* R_AARCH64_PREL2 */
[REL_PLT32] = 314, /* R_AARCH64_PLT32 */
[REL_CALL26] = 283, /* R_AARCH64_CALL26 */
+ [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 */
}
};