[llvm] r362713 - [PowerPC] Add R_PPC_IRELATIVE
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 6 08:31:45 PDT 2019
Author: maskray
Date: Thu Jun 6 08:31:45 2019
New Revision: 362713
URL: http://llvm.org/viewvc/llvm-project?rev=362713&view=rev
Log:
[PowerPC] Add R_PPC_IRELATIVE
This will be used by lld's powerpc port.
Modified:
llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/PowerPC.def
Modified: llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/PowerPC.def
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/PowerPC.def?rev=362713&r1=362712&r2=362713&view=diff
==============================================================================
--- llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/PowerPC.def (original)
+++ llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/PowerPC.def Thu Jun 6 08:31:45 2019
@@ -149,6 +149,7 @@ ELF_RELOC(R_PPC_GOT_DTPREL16_HI,
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)
More information about the llvm-commits
mailing list