diff options
Diffstat (limited to 'llvm/test/MC/PowerPC/ppc64-reloc-directive.s')
-rw-r--r-- | llvm/test/MC/PowerPC/ppc64-reloc-directive.s | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/llvm/test/MC/PowerPC/ppc64-reloc-directive.s b/llvm/test/MC/PowerPC/ppc64-reloc-directive.s index 5f54ac7..2268a3c 100644 --- a/llvm/test/MC/PowerPC/ppc64-reloc-directive.s +++ b/llvm/test/MC/PowerPC/ppc64-reloc-directive.s @@ -4,16 +4,16 @@ # RUN: llvm-mc -filetype=obj -triple=powerpc64-linux-musl %s | llvm-readobj -r - | FileCheck %s # RUN: llvm-mc -filetype=obj -triple=powerpc64le-linux-musl %s | llvm-readobj -r - | FileCheck %s -# PRINT: .reloc 8, R_PPC64_NONE, .data -# PRINT: .reloc 4, R_PPC64_NONE, foo+4 -# PRINT: .reloc 0, R_PPC64_NONE, 8 -# PRINT: .reloc 0, R_PPC64_ADDR32, .data+2 -# PRINT: .reloc 0, R_PPC64_REL16_HI, foo+3 -# PRINT: .reloc 0, R_PPC64_REL16_HA, 5 -# PRINT: .reloc 0, BFD_RELOC_NONE, 9 -# PRINT: .reloc 0, BFD_RELOC_16, 9 -# PRINT: .reloc 0, BFD_RELOC_32, 9 -# PRINT: .reloc 0, BFD_RELOC_64, 9 +# PRINT: .reloc {{.*}}+8, R_PPC64_NONE, .data +# PRINT: .reloc {{.*}}+4, R_PPC64_NONE, foo+4 +# PRINT: .reloc {{.*}}+0, R_PPC64_NONE, 8 +# PRINT: .reloc {{.*}}+0, R_PPC64_ADDR32, .data+2 +# PRINT: .reloc {{.*}}+0, R_PPC64_REL16_HI, foo+3 +# PRINT: .reloc {{.*}}+0, R_PPC64_REL16_HA, 5 +# PRINT: .reloc {{.*}}+0, BFD_RELOC_NONE, 9 +# PRINT: .reloc {{.*}}+0, BFD_RELOC_16, 9 +# PRINT: .reloc {{.*}}+0, BFD_RELOC_32, 9 +# PRINT: .reloc {{.*}}+0, BFD_RELOC_64, 9 # CHECK: 0x8 R_PPC64_NONE .data 0x0 # CHECK-NEXT: 0x4 R_PPC64_NONE foo 0x4 @@ -27,20 +27,20 @@ # CHECK-NEXT: 0x0 R_PPC64_ADDR64 - 0x9 .text + .reloc .+8, R_PPC64_NONE, .data + .reloc .+4, R_PPC64_NONE, foo+4 + .reloc .+0, R_PPC64_NONE, 8 + .reloc .+0, R_PPC64_ADDR32, .data+2 + .reloc .+0, R_PPC64_REL16_HI, foo+3 + .reloc .+0, R_PPC64_REL16_HA, 5 + + .reloc .+0, BFD_RELOC_NONE, 9 + .reloc .+0, BFD_RELOC_16, 9 + .reloc .+0, BFD_RELOC_32, 9 + .reloc .+0, BFD_RELOC_64, 9 blr nop nop - .reloc 8, R_PPC64_NONE, .data - .reloc 4, R_PPC64_NONE, foo+4 - .reloc 0, R_PPC64_NONE, 8 - .reloc 0, R_PPC64_ADDR32, .data+2 - .reloc 0, R_PPC64_REL16_HI, foo+3 - .reloc 0, R_PPC64_REL16_HA, 5 - - .reloc 0, BFD_RELOC_NONE, 9 - .reloc 0, BFD_RELOC_16, 9 - .reloc 0, BFD_RELOC_32, 9 - .reloc 0, BFD_RELOC_64, 9 .data .globl foo |