[PATCH] D36455: [RISCV] Recognize new relocation types

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 15 05:12:23 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL310914: [RISCV] Recognize new relocation types (authored by asb).

Changed prior to commit:
  https://reviews.llvm.org/D36455?vs=110160&id=111147#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D36455

Files:
  llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/RISCV.def


Index: llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/RISCV.def
===================================================================
--- llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/RISCV.def
+++ llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/RISCV.def
@@ -48,3 +48,12 @@
 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)
+ELF_RELOC(R_RISCV_SET8,              54)
+ELF_RELOC(R_RISCV_SET16,             55)
+ELF_RELOC(R_RISCV_SET32,             56)
+ELF_RELOC(R_RISCV_32_PCREL,          57)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36455.111147.patch
Type: text/x-patch
Size: 777 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170815/10148a76/attachment.bin>


More information about the llvm-commits mailing list