Date: Mon, 15 Dec 2025 18:19:00 +0000 From: Jessica Clarke <jrtc27@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 275e5537486c - stable/13 - elf: Remove R_RISCV_[GT]PREL_[IS] relocation defines Message-ID: <69405114.237f0.5b22772a@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/13 has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=275e5537486c60254f83217cc3b13cf23e41b0a6 commit 275e5537486c60254f83217cc3b13cf23e41b0a6 Author: Jessica Clarke <jrtc27@FreeBSD.org> AuthorDate: 2021-07-20 05:13:43 +0000 Commit: Jessica Clarke <jrtc27@FreeBSD.org> CommitDate: 2025-12-15 17:56:37 +0000 elf: Remove R_RISCV_[GT]PREL_[IS] relocation defines These were internal binutils relocations that have no way to be generated in assembly nor will ever be seen in the output, and so should never have been defined in the psABI in the first place. They have therefore been removed from the spec as of [1], so do so here too. [1] https://github.com/riscv/riscv-elf-psabi-doc/commit/44f98e0fd8104def00f2a5a8d94b23dd647d18fb (cherry picked from commit f221000127767d33ea06d3a00e731c0164f9a70f) --- sys/sys/elf_common.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h index c7207956d9dc..663f7f0aece2 100644 --- a/sys/sys/elf_common.h +++ b/sys/sys/elf_common.h @@ -1364,10 +1364,6 @@ typedef struct { #define R_RISCV_RVC_BRANCH 44 #define R_RISCV_RVC_JUMP 45 #define R_RISCV_RVC_LUI 46 -#define R_RISCV_GPREL_I 47 -#define R_RISCV_GPREL_S 48 -#define R_RISCV_TPREL_I 49 -#define R_RISCV_TPREL_S 50 #define R_RISCV_RELAX 51 #define R_RISCV_SUB6 52 #define R_RISCV_SET6 53help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69405114.237f0.5b22772a>
