[llvm] 26ec5da - [RISCV][ELF] Remove internal binutils relocations

Alex Bradbury via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 4 08:55:38 PDT 2021


Author: Alex Bradbury
Date: 2021-11-04T15:55:49Z
New Revision: 26ec5da744b80b14bc91707ec56e8da58167ea19

URL: https://github.com/llvm/llvm-project/commit/26ec5da744b80b14bc91707ec56e8da58167ea19
DIFF: https://github.com/llvm/llvm-project/commit/26ec5da744b80b14bc91707ec56e8da58167ea19.diff

LOG: [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

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/BinaryFormat/ELFRelocs/RISCV.def b/llvm/include/llvm/BinaryFormat/ELFRelocs/RISCV.def
index 9f2f0540bcbd3..4544509504449 100644
--- a/llvm/include/llvm/BinaryFormat/ELFRelocs/RISCV.def
+++ b/llvm/include/llvm/BinaryFormat/ELFRelocs/RISCV.def
@@ -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)


        


More information about the llvm-commits mailing list