From a1db5de9e70dd8ffda57b1a4373915ea866b6f1d Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Wed, 9 Jan 2013 17:08:15 +0000 Subject: 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 --- include/llvm/Support/ELF.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/llvm/Support/ELF.h') 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, -- cgit v1.2.3