CpIvrWvvjII6SZuAt iAJUzw1degihiOfLXAxYWqeIHloHiQKDj5w/XSITjGVAItq1V6Jh4FHZGNMmPXRegJL1K/ v1u6yWY2zuW+FEXtfkt22sVqHLRachEbUvjggeWZqhOcR4sbbQvMTXBlNhCTgOEnMm699U lAZO5sVThupXaTrE0CTikk9cFbt4qTNluNP3TD6VvgAHenYnTE5MRu2jEMo5pA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dVSxd594zzWbT for ; Mon, 15 Dec 2025 18:19:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 26380 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 15 Dec 2025 18:19:01 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Jessica Clarke Subject: git: 7a41a7442ae4 - stable/13 - sys: Sync RISC-V relocations List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jrtc27 X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 7a41a7442ae4e7efb6aaf03f02ea4ee56a5695f6 Auto-Submitted: auto-generated Date: Mon, 15 Dec 2025 18:19:01 +0000 Message-Id: <69405115.26380.2a2e94f@gitrepo.freebsd.org> The branch stable/13 has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=7a41a7442ae4e7efb6aaf03f02ea4ee56a5695f6 commit 7a41a7442ae4e7efb6aaf03f02ea4ee56a5695f6 Author: Jessica Clarke AuthorDate: 2025-07-10 22:58:06 +0000 Commit: Jessica Clarke CommitDate: 2025-12-15 17:56:37 +0000 sys: Sync RISC-V relocations MFC after: 1 week (cherry picked from commit 65bd6c7acd1fba38ce0b234d5d777a2ebad7e807) --- sys/sys/elf_common.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h index 663f7f0aece2..c9cf5e5c2ce6 100644 --- a/sys/sys/elf_common.h +++ b/sys/sys/elf_common.h @@ -1335,6 +1335,7 @@ typedef struct { #define R_RISCV_TLS_DTPREL64 9 #define R_RISCV_TLS_TPREL32 10 #define R_RISCV_TLS_TPREL64 11 +#define R_RISCV_TLSDESC 12 #define R_RISCV_BRANCH 16 #define R_RISCV_JAL 17 #define R_RISCV_CALL 18 @@ -1360,10 +1361,10 @@ typedef struct { #define R_RISCV_SUB16 38 #define R_RISCV_SUB32 39 #define R_RISCV_SUB64 40 +#define R_RISCV_GOT32_PCREL 41 #define R_RISCV_ALIGN 43 #define R_RISCV_RVC_BRANCH 44 #define R_RISCV_RVC_JUMP 45 -#define R_RISCV_RVC_LUI 46 #define R_RISCV_RELAX 51 #define R_RISCV_SUB6 52 #define R_RISCV_SET6 53 @@ -1372,6 +1373,14 @@ typedef struct { #define R_RISCV_SET32 56 #define R_RISCV_32_PCREL 57 #define R_RISCV_IRELATIVE 58 +#define R_RISCV_PLT32 59 +#define R_RISCV_SET_ULEB128 60 +#define R_RISCV_SUB_ULEB128 61 +#define R_RISCV_TLSDESC_HI20 62 +#define R_RISCV_TLSDESC_LOAD_LO12 63 +#define R_RISCV_TLSDESC_ADD_LO12 64 +#define R_RISCV_TLSDESC_CALL 65 +#define R_RISCV_VENDOR 191 #define R_SPARC_NONE 0 #define R_SPARC_8 1