Skip to content

Commit 37fb5f4

Browse files
jrtc27resistor
authored andcommitted
[BinaryFormat][RISCV] Delete R_RISCV_CHERI_SIZE
This has never actually been used (it only appeared to be used in LLD, but never was in practice), nor is it supported by any run-time linker.
1 parent ffd1106 commit 37fb5f4

File tree

1 file changed

+1
-1
lines changed
  • llvm/include/llvm/BinaryFormat/ELFRelocs

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ ELF_RELOC(R_RISCV_CUSTOM255, 255)
130130
ELF_RELOC(R_RISCV_CHERI_CAPTAB_PCREL_HI20, 192)
131131
ELF_RELOC(R_RISCV_CHERI_CAPABILITY, 193)
132132
// 194 reserved
133-
ELF_RELOC(R_RISCV_CHERI_SIZE, 195)
133+
// 195 reserved
134134
ELF_RELOC(R_RISCV_CHERI_TPREL_CINCOFFSET, 196) // Deprecated
135135
ELF_RELOC(R_RISCV_CHERI_TLS_IE_CAPTAB_PCREL_HI20, 197) // Deprecated
136136
ELF_RELOC(R_RISCV_CHERI_TLS_GD_CAPTAB_PCREL_HI20, 198) // Deprecated

0 commit comments

Comments
 (0)