PowerPC: EH adjustments
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Wed, 9 Jan 2013 17:08:15 +0000 (17:08 +0000)
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Wed, 9 Jan 2013 17:08:15 +0000 (17:08 +0000)
commita1db5de9e70dd8ffda57b1a4373915ea866b6f1d
tree4677668f64fe87becf1099d9a98b98b2ad6704a4
parentcde81689649ca62688e22a2d068ca893ce221332
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
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
lib/MC/MCObjectFileInfo.cpp
lib/Target/PowerPC/PPCAsmPrinter.cpp
test/MC/PowerPC/ppc64-initial-cfa.ll