From b341d305a4cef8e75f520d104cd09b0fcfdc8bba 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. llvm-svn: 362713 --- llvm/include/llvm/BinaryFormat/ELFRelocs/PowerPC.def | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/include/llvm/BinaryFormat/ELFRelocs/PowerPC.def b/llvm/include/llvm/BinaryFormat/ELFRelocs/PowerPC.def index 7041896681cc..28036889cca6 100644 --- a/llvm/include/llvm/BinaryFormat/ELFRelocs/PowerPC.def +++ b/llvm/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.34.1