1 ; RUN: llvm-as < %s | \
2 ; RUN: llc -mtriple=thumbv7-apple-darwin -relocation-model=static | FileCheck %s -check-prefix=STATIC
3 ; RUN: llvm-as < %s | \
4 ; RUN: llc -mtriple=thumbv7-apple-darwin -relocation-model=dynamic-no-pic | FileCheck %s -check-prefix=DYNAMIC
5 ; RUN: llvm-as < %s | \
6 ; RUN: llc -mtriple=thumbv7-apple-darwin -relocation-model=pic | FileCheck %s -check-prefix=PIC
7 ; RUN: llvm-as < %s | \
8 ; RUN: llc -mtriple=thumbv7-linux-gnueabi -relocation-model=pic | FileCheck %s -check-prefix=LINUX
10 @G = external global i32
17 ; DYNAMIC: .long L_G$non_lazy_ptr
21 ; PIC: .long L_G$non_lazy_ptr-(LPC0+4)