summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Fertile <sfertile@ca.ibm.com>2018-05-24 16:02:05 +0000
committerSean Fertile <sfertile@ca.ibm.com>2018-05-24 16:02:05 +0000
commitd5cd178c103b8be11f23c4db5f4803f073f3f19e (patch)
tree86d4495c3c47164d6f0b9b65dd18778af3a4ce09
parent85197a08429c6e490b3f9b6750071bbf5af25587 (diff)
downloadbcm5719-llvm-d5cd178c103b8be11f23c4db5f4803f073f3f19e.tar.gz
bcm5719-llvm-d5cd178c103b8be11f23c4db5f4803f073f3f19e.zip
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 llvm-svn: 333200
-rw-r--r--llvm/include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def b/llvm/include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def
index 3a47c5a0757..d2dbc793a13 100644
--- a/llvm/include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def
+++ b/llvm/include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def
@@ -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, 105)
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)
OpenPOWER on IntegriCloud