From: Hal Finkel <hfinkel@anl.gov>
Date: Wed, 30 Jul 2014 03:20:45 +0000 (+0000)
Subject: [PowerPC] Add JMP_SLOT relocation definitions
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e54c557b0126d6f067c13d237e5fa0a198deccc2;p=llvm

[PowerPC] Add JMP_SLOT relocation definitions

This will be required by upcoming patches for LLDB support.

Patch by Justin Hibbits!

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

diff --git a/include/llvm/Support/ELF.h b/include/llvm/Support/ELF.h
index 42abe8906ea..5b137a41356 100644
--- a/include/llvm/Support/ELF.h
+++ b/include/llvm/Support/ELF.h
@@ -459,6 +459,7 @@ enum {
   R_PPC_GOT16_HI              = 16,
   R_PPC_GOT16_HA              = 17,
   R_PPC_PLTREL24              = 18,
+  R_PPC_JMP_SLOT              = 21,
   R_PPC_REL32                 = 26,
   R_PPC_TLS                   = 67,
   R_PPC_DTPMOD32              = 68,
@@ -547,6 +548,7 @@ enum {
   R_PPC64_GOT16_LO            = 15,
   R_PPC64_GOT16_HI            = 16,
   R_PPC64_GOT16_HA            = 17,
+  R_PPC64_JMP_SLOT            = 21,
   R_PPC64_REL32               = 26,
   R_PPC64_ADDR64              = 38,
   R_PPC64_ADDR16_HIGHER       = 39,