[RISCV][ELF] Remove internal binutils relocations

These relocations have been removed from the psABI doc in
https://github.com/riscv-non-isa/riscv-elf-psabi-doc/pull/199. This
patch simply updates llvm/include/llvm/BinaryFormat/ELFRelocs/RISCV.def
to match.

Differential Revision: https://reviews.llvm.org/D112999
This commit is contained in:
Alex Bradbury
2021-11-04 15:53:37 +00:00
parent 2887117d2c
commit 26ec5da744

View File

@@ -46,10 +46,6 @@ ELF_RELOC(R_RISCV_ALIGN, 43)
ELF_RELOC(R_RISCV_RVC_BRANCH, 44)
ELF_RELOC(R_RISCV_RVC_JUMP, 45)
ELF_RELOC(R_RISCV_RVC_LUI, 46)
ELF_RELOC(R_RISCV_GPREL_I, 47)
ELF_RELOC(R_RISCV_GPREL_S, 48)
ELF_RELOC(R_RISCV_TPREL_I, 49)
ELF_RELOC(R_RISCV_TPREL_S, 50)
ELF_RELOC(R_RISCV_RELAX, 51)
ELF_RELOC(R_RISCV_SUB6, 52)
ELF_RELOC(R_RISCV_SET6, 53)