[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / PowerPC / ppc64-reloc-directive.s
blob2442b085b0d7967871e0980392540d41881c8bf8
1 # RUN: llvm-mc -triple=powerpc64-linux-musl %s | FileCheck --check-prefix=PRINT %s
2 # RUN: llvm-mc -triple=powerpc64le-linux-musl %s | FileCheck --check-prefix=PRINT %s
4 # RUN: llvm-mc -filetype=obj -triple=powerpc64-linux-musl %s | llvm-readobj -r | FileCheck %s
5 # RUN: llvm-mc -filetype=obj -triple=powerpc64le-linux-musl %s | llvm-readobj -r | FileCheck %s
7 # PRINT: .reloc 8, R_PPC64_NONE, .data
8 # PRINT: .reloc 4, R_PPC64_NONE, foo+4
9 # PRINT: .reloc 0, R_PPC64_NONE, 8
11 # CHECK: 0x8 R_PPC64_NONE .data 0x0
12 # CHECK-NEXT: 0x4 R_PPC64_NONE foo 0x4
13 # CHECK-NEXT: 0x0 R_PPC64_NONE - 0x8
15 .text
16 blr
17 nop
18 nop
19 .reloc 8, R_PPC64_NONE, .data
20 .reloc 4, R_PPC64_NONE, foo+4
21 .reloc 0, R_PPC64_NONE, 8
23 .data
24 .globl foo
25 foo:
26 .word 0
27 .word 0
28 .word 0