// RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj %s -o - | \
// RUN: llvm-readobj -r - | FileCheck -check-prefix=OBJ %s
movz x0, #:abs_g0:some_label
movk x0, #:abs_g0_nc:some_label
movz x3, #:abs_g1:some_label
movk x5, #:abs_g1_nc:some_label
movz x3, #:abs_g2:some_label
movk x5, #:abs_g2_nc:some_label
movz x7, #:abs_g3:some_label
movk x11, #:abs_g3:some_label
movz x13, #:abs_g0_s:some_label
movn x17, #:abs_g0_s:some_label
movz x19, #:abs_g1_s:some_label
movn x19, #:abs_g1_s:some_label
movz x19, #:abs_g2_s:some_label
movn x19, #:abs_g2_s:some_label
movz x19, #:abs_g1:some_label + 20 - 10
movn x19, #:abs_g2_s:some_label - 20 + 10
movk x11, #:abs_g3:some_label + 2 * 10
// OBJ: Relocations