Date: Tue, 20 Jul 2021 05:14:18 GMT From: Jessica Clarke <jrtc27@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: f22100012776 - main - elf: Remove R_RISCV_[GT]PREL_[IS] relocation defines Message-ID: <202107200514.16K5EIq3075472@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=f221000127767d33ea06d3a00e731c0164f9a70f commit f221000127767d33ea06d3a00e731c0164f9a70f Author: Jessica Clarke <jrtc27@FreeBSD.org> AuthorDate: 2021-07-20 05:13:43 +0000 Commit: Jessica Clarke <jrtc27@FreeBSD.org> CommitDate: 2021-07-20 05:13:43 +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 --- 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 76bda8f71f3b..d362f51ed833 100644 --- a/sys/sys/elf_common.h +++ b/sys/sys/elf_common.h @@ -1350,10 +1350,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 53
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107200514.16K5EIq3075472>