[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / AArch64 / reloc-directive.s
blobe10a90a5216be0d04f39947b3dff57b0cff806f4
1 # RUN: llvm-mc -triple=aarch64-linux-musl %s | FileCheck --check-prefix=PRINT %s
3 # RUN: llvm-mc -filetype=obj -triple=aarch64-linux-musl %s | llvm-readobj -r | FileCheck %s
5 # PRINT: .reloc 8, R_AARCH64_NONE, .data
6 # PRINT: .reloc 4, R_AARCH64_NONE, foo+4
7 # PRINT: .reloc 0, R_AARCH64_NONE, 8
8 .text
9 ret
10 nop
11 nop
12 .reloc 8, R_AARCH64_NONE, .data
13 .reloc 4, R_AARCH64_NONE, foo+4
14 .reloc 0, R_AARCH64_NONE, 8
16 .data
17 .globl foo
18 foo:
19 .word 0
20 .word 0
21 .word 0
23 # CHECK: 0x8 R_AARCH64_NONE .data 0x0
24 # CHECK-NEXT: 0x4 R_AARCH64_NONE foo 0x4
25 # CHECK-NEXT: 0x0 R_AARCH64_NONE - 0x8