summaryrefslogtreecommitdiff
path: root/include/llvm/Support/ELF.h
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-01-09 17:08:15 +0000
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-01-09 17:08:15 +0000
commita1db5de9e70dd8ffda57b1a4373915ea866b6f1d (patch)
tree4677668f64fe87becf1099d9a98b98b2ad6704a4 /include/llvm/Support/ELF.h
parentcde81689649ca62688e22a2d068ca893ce221332 (diff)
downloadllvm-a1db5de9e70dd8ffda57b1a4373915ea866b6f1d.tar.gz
llvm-a1db5de9e70dd8ffda57b1a4373915ea866b6f1d.tar.bz2
llvm-a1db5de9e70dd8ffda57b1a4373915ea866b6f1d.tar.xz
PowerPC: EH adjustments
This patch adjust the r171506 to make all DWARF enconding pc-relative for PPC64. It also adds the R_PPC64_REL32 relocation handling in MCJIT (since the eh_frame will not generate PIC-relative relocation) and also adds the emission of stubs created by the TTypeEncoding. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171979 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/ELF.h')
-rw-r--r--include/llvm/Support/ELF.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Support/ELF.h b/include/llvm/Support/ELF.h
index fa97d6e6dc..6eb1d8f744 100644
--- a/include/llvm/Support/ELF.h
+++ b/include/llvm/Support/ELF.h
@@ -469,6 +469,7 @@ enum {
R_PPC64_ADDR16_HI = 5,
R_PPC64_ADDR14 = 7,
R_PPC64_REL24 = 10,
+ R_PPC64_REL32 = 26,
R_PPC64_ADDR64 = 38,
R_PPC64_ADDR16_HIGHER = 39,
R_PPC64_ADDR16_HIGHEST = 41,