[PowerPC] Add R_PPC64_GLOB_DAT and R_PPC64_RELATIVE to PowerPC64.def
authorHal Finkel <hfinkel@anl.gov>
Thu, 8 Oct 2015 18:30:27 +0000 (18:30 +0000)
committerHal Finkel <hfinkel@anl.gov>
Thu, 8 Oct 2015 18:30:27 +0000 (18:30 +0000)
These are not used by LLVM proper, but will be used by upcoming commits to lld
(and will receive test coverage there).

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

include/llvm/Support/ELFRelocs/PowerPC64.def

index 218a856cf0eee013a18d73d3cb06e44e3cd454c9..3a47c5a07574bd723fa1bf8630773bb67bafc128 100644 (file)
@@ -26,7 +26,9 @@
 #undef R_PPC64_GOT16_LO
 #undef R_PPC64_GOT16_HI
 #undef R_PPC64_GOT16_HA
+#undef R_PPC64_GLOB_DAT
 #undef R_PPC64_JMP_SLOT
+#undef R_PPC64_RELATIVE
 #undef R_PPC64_REL32
 #undef R_PPC64_ADDR64
 #undef R_PPC64_ADDR16_HIGHER
@@ -110,7 +112,9 @@ ELF_RELOC(R_PPC64_GOT16,                14)
 ELF_RELOC(R_PPC64_GOT16_LO,             15)
 ELF_RELOC(R_PPC64_GOT16_HI,             16)
 ELF_RELOC(R_PPC64_GOT16_HA,             17)
+ELF_RELOC(R_PPC64_GLOB_DAT,             20)
 ELF_RELOC(R_PPC64_JMP_SLOT,             21)
+ELF_RELOC(R_PPC64_RELATIVE,             22)
 ELF_RELOC(R_PPC64_REL32,                26)
 ELF_RELOC(R_PPC64_ADDR64,               38)
 ELF_RELOC(R_PPC64_ADDR16_HIGHER,        39)