git: efba864f11d5 - stable/14 - elf_common.h: Add some AArch32 relocations

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Wed, 13 May 2026 14:20:01 UTC
The branch stable/14 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=efba864f11d508a55c159330d8d3b2174288d3d1

commit efba864f11d508a55c159330d8d3b2174288d3d1
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2026-02-12 21:18:32 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-05-13 14:05:26 +0000

    elf_common.h: Add some AArch32 relocations
    
    Reviewed by:    mmel
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D55268
    
    (cherry picked from commit 10ac7413c060b1496ef54e2338f487ea84f66206)
    (cherry picked from commit 50a7a38ea79f05b2da38352629802c346aeb55d6)
---
 sys/sys/elf_common.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h
index b0b940b4cae3..2152efdee8b6 100644
--- a/sys/sys/elf_common.h
+++ b/sys/sys/elf_common.h
@@ -1117,6 +1117,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_RSBREL32		250