Skip to content

Commit 5c14dc7

Browse files
jrtc27resistor
authored andcommitted
[BinaryFormat][RISCV] Mark no-longer used CHERI relocations deprecated
1 parent 7317d94 commit 5c14dc7

File tree

1 file changed

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

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,12 @@ ELF_RELOC(R_RISCV_CHERI_CAPTAB_PCREL_HI20, 192)
131131
ELF_RELOC(R_RISCV_CHERI_CAPABILITY, 193)
132132
// 194 reserved for R_RISCV_CHERI_CAPABILITY_CALL
133133
ELF_RELOC(R_RISCV_CHERI_SIZE, 195)
134-
ELF_RELOC(R_RISCV_CHERI_TPREL_CINCOFFSET, 196)
135-
ELF_RELOC(R_RISCV_CHERI_TLS_IE_CAPTAB_PCREL_HI20, 197)
136-
ELF_RELOC(R_RISCV_CHERI_TLS_GD_CAPTAB_PCREL_HI20, 198)
137-
ELF_RELOC(R_RISCV_CHERI_CJAL, 199)
138-
ELF_RELOC(R_RISCV_CHERI_CCALL, 200)
139-
ELF_RELOC(R_RISCV_CHERI_RVC_CJUMP, 201)
134+
ELF_RELOC(R_RISCV_CHERI_TPREL_CINCOFFSET, 196) // Deprecated
135+
ELF_RELOC(R_RISCV_CHERI_TLS_IE_CAPTAB_PCREL_HI20, 197) // Deprecated
136+
ELF_RELOC(R_RISCV_CHERI_TLS_GD_CAPTAB_PCREL_HI20, 198) // Deprecated
137+
ELF_RELOC(R_RISCV_CHERI_CJAL, 199) // Deprecated
138+
ELF_RELOC(R_RISCV_CHERI_CCALL, 200) // Deprecated
139+
ELF_RELOC(R_RISCV_CHERI_RVC_CJUMP, 201) // Deprecated
140140

141141
// CHERIoT relocations
142142
ELF_RELOC(R_RISCV_CHERIOT_COMPARTMENT_HI, 220)

0 commit comments

Comments
 (0)