aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@FreeBSD.org>2021-07-20 05:13:43 +0000
committerJessica Clarke <jrtc27@FreeBSD.org>2021-07-20 05:13:43 +0000
commitf221000127767d33ea06d3a00e731c0164f9a70f (patch)
treefe61fb1b5f2037e808f3f00ca513e659204f177b /sys
parent0c92d88c9180bf25187f01f1d7e419edea9a0fef (diff)
downloadsrc-f221000127767d33ea06d3a00e731c0164f9a70f.tar.gz
src-f221000127767d33ea06d3a00e731c0164f9a70f.zip
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
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/elf_common.h4
1 files changed, 0 insertions, 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