1@ RUN: not llvm-mc -triple thumbv6m-none-eabi -filetype=obj -o /dev/null %s 2>&1 | FileCheck %s --check-prefix=CHECK-V6M
2@ RUN: llvm-mc -triple thumbv8m.base-none-eabi -filetype=obj -o /dev/null %s 2>&1 | FileCheck %s --check-prefix=CHECK-V8MBASE --allow-empty
3
4@ CHECK-V8MBASE-NOT: out of range pc-relative fixup value
5@ CHECK-V6M: out of range pc-relative fixup value
6  b Lfar2
7
8  .space 2050
9Lfar2:
10  .word 42
11