1// RUN: llvm-mc -triple aarch64-none-linux-gnu %s -filetype=obj -o %t
2// RUN: llvm-objdump --triple aarch64-none-linux-gnu -Dr %t | FileCheck %s
3
40:
5.skip 4
61:
7mov x0, 1b - 0b
8// CHECK: mov x0, #4
9mov x0, 0b - 1b
10// CHECK: mov x0, #-4
11mov x0, 0b - 0b
12// CHECK: mov x0, #0
13mov x0, 1b - 2 - 0b + 6
14// CHECK: mov x0, #8
15mov x0, #:abs_g0_s:1b
16// CHECK: mov x0, #0
17// CHECK-NEXT: R_AARCH64_MOVW_SABS_G0	.text+0x4
18