Skip to content

Commit ffd1106

Browse files
jrtc27resistor
authored andcommitted
[BinaryFormat][RISCV] Ditch R_RISCV_CHERI_CAPABILITY_CALL in comment
We can just reuse R_RISCV_JUMP_SLOT when needed.
1 parent 94239cf commit ffd1106

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
@@ -129,7 +129,7 @@ ELF_RELOC(R_RISCV_CUSTOM255, 255)
129129
// CHERI relocations
130130
ELF_RELOC(R_RISCV_CHERI_CAPTAB_PCREL_HI20, 192)
131131
ELF_RELOC(R_RISCV_CHERI_CAPABILITY, 193)
132-
// 194 reserved for R_RISCV_CHERI_CAPABILITY_CALL
132+
// 194 reserved
133133
ELF_RELOC(R_RISCV_CHERI_SIZE, 195)
134134
ELF_RELOC(R_RISCV_CHERI_TPREL_CINCOFFSET, 196) // Deprecated
135135
ELF_RELOC(R_RISCV_CHERI_TLS_IE_CAPTAB_PCREL_HI20, 197) // Deprecated

0 commit comments

Comments
 (0)