[llvm] r333200 - Add R_PPC64_IRELATIVE to PPC64 relocations.
Sean Fertile via llvm-commits
llvm-commits at lists.llvm.org
Thu May 24 09:02:05 PDT 2018
Author: sfertile
Date: Thu May 24 09:02:05 2018
New Revision: 333200
URL: http://llvm.org/viewvc/llvm-project?rev=333200&view=rev
Log:
Add R_PPC64_IRELATIVE to PPC64 relocations.
Relocation is needed for use in lld, which has the accompanying test.
Differential Review: https://reviews.llvm.org/D46876
Modified:
llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def
Modified: llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def?rev=333200&r1=333199&r2=333200&view=diff
==============================================================================
--- llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def (original)
+++ llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def Thu May 24 09:02:05 2018
@@ -89,6 +89,7 @@
#undef R_PPC64_DTPREL16_HIGHESTA
#undef R_PPC64_TLSGD
#undef R_PPC64_TLSLD
+#undef R_PPC64_IRELATIVE
#undef R_PPC64_REL16
#undef R_PPC64_REL16_LO
#undef R_PPC64_REL16_HI
@@ -175,6 +176,7 @@ ELF_RELOC(R_PPC64_DTPREL16_HIGHEST,
ELF_RELOC(R_PPC64_DTPREL16_HIGHESTA, 106)
ELF_RELOC(R_PPC64_TLSGD, 107)
ELF_RELOC(R_PPC64_TLSLD, 108)
+ELF_RELOC(R_PPC64_IRELATIVE, 248)
ELF_RELOC(R_PPC64_REL16, 249)
ELF_RELOC(R_PPC64_REL16_LO, 250)
ELF_RELOC(R_PPC64_REL16_HI, 251)
More information about the llvm-commits
mailing list