1 @ RUN: llvm-mc %s -triple armv7-apple-darwin | FileCheck %s 2 @ RUN: llvm-mc %s -triple armv7-apple-darwin | FileCheck %s 3 4 _t: 5 movw r0, :lower16:(L_foo$non_lazy_ptr - (L1 + 8)) 6 movt r0, :upper16:(L_foo$non_lazy_ptr - (L1 + 8)) 7 L1: 8 9 @ CHECK: movw r0, :lower16:(L_foo$non_lazy_ptr-(L1+8)) 10 @ CHECK: movt r0, :upper16:(L_foo$non_lazy_ptr-(L1+8)) 11 12 .comm _foo,4,2 13 14 .section __DATA,__nl_symbol_ptr,non_lazy_symbol_pointers 15 .align 2 16 L_foo$non_lazy_ptr: 17 .indirect_symbol _foo 18 .long 0 19 20 .subsections_via_symbols 21