aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2026-02-12 21:18:32 +0000
committerEd Maste <emaste@FreeBSD.org>2026-02-13 18:37:01 +0000
commit10ac7413c060b1496ef54e2338f487ea84f66206 (patch)
treeaf2bda7bd31d4e1238d60b8f810aa4463482c2f5
parent1782bc9a0a8da2d6aca31b7790981e1980c9e4b9 (diff)
elf_common.h: Add some AArch32 relocations
Reviewed by: mmel Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D55268
-rw-r--r--sys/sys/elf_common.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h
index 3782bfc2df9c..c768e1aac87d 100644
--- a/sys/sys/elf_common.h
+++ b/sys/sys/elf_common.h
@@ -1120,6 +1120,19 @@ typedef struct {
#define R_ARM_GOTPC 25 /* Add PC-relative GOT table address. */
#define R_ARM_GOT32 26 /* Add PC-relative GOT offset. */
#define R_ARM_PLT32 27 /* Add PC-relative PLT offset. */
+#define R_ARM_CALL 28
+#define R_ARM_JUMP24 29
+#define R_ARM_THM_JUMP24 30
+#define R_ARM_BASE_ABS 31
+#define R_ARM_MOVW_ABS_NC 43
+#define R_ARM_MOVT_ABS 44
+#define R_ARM_MOVW_PREL_NC 45
+#define R_ARM_MOVT_PREL 46
+#define R_ARM_THM_MOVW_ABS_NC 47
+#define R_ARM_THM_MOVT_ABS 48
+#define R_ARM_THM_MOVW_PREL_NC 49
+#define R_ARM_THM_MOVT_PREL 50
+#define R_ARM_THM_JUMP19 51
#define R_ARM_GNU_VTENTRY 100
#define R_ARM_GNU_VTINHERIT 101
#define R_ARM_IRELATIVE 160