1 ; RUN: llc < %s -mtriple=arm-apple-darwin -relocation-model=static | \
2 ; RUN: not grep {L_G\$non_lazy_ptr}
3 ; RUN: llc < %s -mtriple=arm-apple-darwin -relocation-model=dynamic-no-pic | \
4 ; RUN: grep {L_G\$non_lazy_ptr} | count 2
5 ; RUN: llc < %s -mtriple=arm-apple-darwin -relocation-model=pic | \
6 ; RUN: grep {ldr.*pc} | count 1
7 ; RUN: llc < %s -mtriple=arm-linux-gnueabi -relocation-model=pic | \
8 ; RUN: grep {GOT} | count 1
10 @G = external global i32