Skip to content

Commit 26ec5da

Browse files
committed
[RISCV][ELF] Remove internal binutils relocations
These relocations have been removed from the psABI doc in riscv-non-isa/riscv-elf-psabi-doc#199. This patch simply updates llvm/include/llvm/BinaryFormat/ELFRelocs/RISCV.def to match. Differential Revision: https://reviews.llvm.org/D112999
1 parent 2887117 commit 26ec5da

File tree

1 file changed

+0
-4
lines changed
  • llvm/include/llvm/BinaryFormat/ELFRelocs

1 file changed

+0
-4
lines changed

llvm/include/llvm/BinaryFormat/ELFRelocs/RISCV.def

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ ELF_RELOC(R_RISCV_ALIGN, 43)
4646
ELF_RELOC(R_RISCV_RVC_BRANCH, 44)
4747
ELF_RELOC(R_RISCV_RVC_JUMP, 45)
4848
ELF_RELOC(R_RISCV_RVC_LUI, 46)
49-
ELF_RELOC(R_RISCV_GPREL_I, 47)
50-
ELF_RELOC(R_RISCV_GPREL_S, 48)
51-
ELF_RELOC(R_RISCV_TPREL_I, 49)
52-
ELF_RELOC(R_RISCV_TPREL_S, 50)
5349
ELF_RELOC(R_RISCV_RELAX, 51)
5450
ELF_RELOC(R_RISCV_SUB6, 52)
5551
ELF_RELOC(R_RISCV_SET6, 53)

0 commit comments

Comments
 (0)