summaryrefslogtreecommitdiffstats
path: root/test/MC
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 /test/MC
parentcde81689649ca62688e22a2d068ca893ce221332 (diff)
downloadexternal_llvm-a1db5de9e70dd8ffda57b1a4373915ea866b6f1d.zip
external_llvm-a1db5de9e70dd8ffda57b1a4373915ea866b6f1d.tar.gz
external_llvm-a1db5de9e70dd8ffda57b1a4373915ea866b6f1d.tar.bz2
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 'test/MC')
-rw-r--r--test/MC/PowerPC/ppc64-initial-cfa.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/MC/PowerPC/ppc64-initial-cfa.ll b/test/MC/PowerPC/ppc64-initial-cfa.ll
index 0e36fb7..16236c9 100644
--- a/test/MC/PowerPC/ppc64-initial-cfa.ll
+++ b/test/MC/PowerPC/ppc64-initial-cfa.ll
@@ -20,7 +20,7 @@ entry:
; STATIC-NEXT: ('sh_info', 0x00000000)
; STATIC-NEXT: ('sh_addralign', 0x0000000000000008)
; STATIC-NEXT: ('sh_entsize', 0x0000000000000000)
-; STATIC-NEXT: ('_section_data', '00000010 00000000 017a5200 01784101 0b0c0100 00000010 00000018 00000000 00000010 00000000')
+; STATIC-NEXT: ('_section_data', '00000010 00000000 017a5200 01784101 1b0c0100 00000010 00000018 00000000 00000010 00000000')
; STATIC: ('sh_name', 0x{{.*}}) # '.rela.eh_frame'
; STATIC-NEXT: ('sh_type', 0x00000004)
@@ -34,11 +34,11 @@ entry:
; STATIC-NEXT: ('sh_entsize', 0x0000000000000018)
; STATIC-NEXT: ('_relocations', [
-; Static build should create R_PPC64_ADDR32 relocations
+; Static build should create R_PPC64_REL32 relocations
; STATIC-NEXT: # Relocation 0
; STATIC-NEXT: (('r_offset', 0x000000000000001c)
; STATIC-NEXT: ('r_sym', 0x{{.*}})
-; STATIC-NEXT: ('r_type', 0x00000001)
+; STATIC-NEXT: ('r_type', 0x0000001a)
; STATIC-NEXT: ('r_addend', 0x0000000000000000)
; STATIC-NEXT: ),
; STATIC-NEXT: ])