From e5d3ac8240f817ed40948b7f41c0fc69efd47679 Mon Sep 17 00:00:00 2001 From: Hal Finkel Date: Thu, 8 Oct 2015 18:30:27 +0000 Subject: [PATCH] [PowerPC] Add R_PPC64_GLOB_DAT and R_PPC64_RELATIVE to PowerPC64.def These are not used by LLVM proper, but will be used by upcoming commits to lld (and will receive test coverage there). llvm-svn: 249714 --- llvm/include/llvm/Support/ELFRelocs/PowerPC64.def | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/llvm/include/llvm/Support/ELFRelocs/PowerPC64.def b/llvm/include/llvm/Support/ELFRelocs/PowerPC64.def index 218a856cf0ee..3a47c5a07574 100644 --- a/llvm/include/llvm/Support/ELFRelocs/PowerPC64.def +++ b/llvm/include/llvm/Support/ELFRelocs/PowerPC64.def @@ -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)