]> granicus.if.org Git - llvm/commitdiff
[PowerPC] Add R_PPC_IRELATIVE
authorFangrui Song <maskray@google.com>
Thu, 6 Jun 2019 15:31:45 +0000 (15:31 +0000)
committerFangrui Song <maskray@google.com>
Thu, 6 Jun 2019 15:31:45 +0000 (15:31 +0000)
This will be used by lld's powerpc port.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362713 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/BinaryFormat/ELFRelocs/PowerPC.def

index 7041896681cc7277bcdf714c35303a507b1fba63..28036889cca6bb46e64672e0ccbec187b3de81ce 100644 (file)
@@ -149,6 +149,7 @@ ELF_RELOC(R_PPC_GOT_DTPREL16_HI,        93)
 ELF_RELOC(R_PPC_GOT_DTPREL16_HA,        94)
 ELF_RELOC(R_PPC_TLSGD,                  95)
 ELF_RELOC(R_PPC_TLSLD,                  96)
+ELF_RELOC(R_PPC_IRELATIVE,              248)
 ELF_RELOC(R_PPC_REL16,                  249)
 ELF_RELOC(R_PPC_REL16_LO,               250)
 ELF_RELOC(R_PPC_REL16_HI,               251)