xref: /aosp_15_r20/external/llvm/test/MC/ARM/thumb1-relax-8m-baseline.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker@ RUN: not llvm-mc -triple thumbv6m-none-eabi -filetype=obj -o /dev/null %s 2>&1 | FileCheck %s --check-prefix=CHECK-V6M
2*9880d681SAndroid Build Coastguard Worker@ 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*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Worker@ CHECK-V8MBASE-NOT: out of range pc-relative fixup value
5*9880d681SAndroid Build Coastguard Worker@ CHECK-V6M: out of range pc-relative fixup value
6*9880d681SAndroid Build Coastguard Worker  b Lfar2
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Worker  .space 2050
9*9880d681SAndroid Build Coastguard WorkerLfar2:
10*9880d681SAndroid Build Coastguard Worker  .word 42
11