diff options
| author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2013-01-09 17:08:15 +0000 |
|---|---|---|
| committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2013-01-09 17:08:15 +0000 |
| commit | 1ae2248e140fa52193b6f8bc5391ffecf16136ce (patch) | |
| tree | 917419c7e9f12ac0087153918b0e46246edd7df7 /llvm/test/MC | |
| parent | 3bd836a58e4c515aadd278f73f5dfc42782f3bd9 (diff) | |
| download | bcm5719-llvm-1ae2248e140fa52193b6f8bc5391ffecf16136ce.tar.gz bcm5719-llvm-1ae2248e140fa52193b6f8bc5391ffecf16136ce.zip | |
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.
llvm-svn: 171979
Diffstat (limited to 'llvm/test/MC')
| -rw-r--r-- | llvm/test/MC/PowerPC/ppc64-initial-cfa.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/MC/PowerPC/ppc64-initial-cfa.ll b/llvm/test/MC/PowerPC/ppc64-initial-cfa.ll index 0e36fb71380..16236c9c650 100644 --- a/llvm/test/MC/PowerPC/ppc64-initial-cfa.ll +++ b/llvm/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: ]) |

