From 54520b068db9106232daa7d5cb8f15b47a242e91 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Thu, 6 Jun 2019 15:31:45 +0000 Subject: [PATCH] [PowerPC] Add R_PPC_IRELATIVE 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/include/llvm/BinaryFormat/ELFRelocs/PowerPC.def b/include/llvm/BinaryFormat/ELFRelocs/PowerPC.def index 7041896681c..28036889cca 100644 --- a/include/llvm/BinaryFormat/ELFRelocs/PowerPC.def +++ b/include/llvm/BinaryFormat/ELFRelocs/PowerPC.def @@ -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) -- 2.40.0