Date: Mon, 15 Dec 2025 18:18:59 +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: 205f65bcdd91 - stable/13 - sys: Delete stale comments in sys/elf_common.h Message-ID: <69405113.25bb4.6f121b30@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=205f65bcdd91de9bd6d1cfdf0626430897633d8a commit 205f65bcdd91de9bd6d1cfdf0626430897633d8a Author: Jessica Clarke <jrtc27@FreeBSD.org> AuthorDate: 2025-07-10 22:58:06 +0000 Commit: Jessica Clarke <jrtc27@FreeBSD.org> CommitDate: 2025-12-15 17:56:36 +0000 sys: Delete stale comments in sys/elf_common.h Originally the relocations for RISC-V were partitioned into dynamic and static (with those that are both being classed as dynamic), but they were packed next to each other, and so as new relocations were added they were allocated sequentially, at the end of the static block, even if really dynamic, R_RISCV_IRELATIVE being the first such case (and only one we currently have a definition for). Delete the misleading comments. Fixes: 4b88ccbc79cc ("Sync relocation definitions") MFC after: 1 week (cherry picked from commit d26f481bcdfec9354614ccc0f7f694bd7bcc5a6c) --- sys/sys/elf_common.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h index fa85396b02df..c7207956d9dc 100644 --- a/sys/sys/elf_common.h +++ b/sys/sys/elf_common.h @@ -1323,7 +1323,6 @@ typedef struct { * RISC-V relocation types. */ -/* Relocation types used by the dynamic linker. */ #define R_RISCV_NONE 0 #define R_RISCV_32 1 #define R_RISCV_64 2 @@ -1336,8 +1335,6 @@ typedef struct { #define R_RISCV_TLS_DTPREL64 9 #define R_RISCV_TLS_TPREL32 10 #define R_RISCV_TLS_TPREL64 11 - -/* Relocation types not used by the dynamic linker. */ #define R_RISCV_BRANCH 16 #define R_RISCV_JAL 17 #define R_RISCV_CALL 18help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69405113.25bb4.6f121b30>
