1 @ RUN: not llvm-mc -triple armv7-eabi -filetype obj -o - %s 2>&1 \ 2 @ RUN: | FileCheck %s 3 @ RUN: not llvm-mc -triple thumbv7-eabi -filetype obj -o - %s 2>&1 \ 4 @ RUN: | FileCheck %s 5 6 .byte target(sbrel) 7 @ CHECK: error: relocated expression must be 32-bit 8 @ CHECK: .byte target(sbrel) 9 @ CHECK: ^ 10 11 .hword target(sbrel) 12 @ CHECK: error: relocated expression must be 32-bit 13 @ CHECK: .hword target(sbrel) 14 @ CHECK: ^ 15 16 .short target(sbrel) 17 @ CHECK: error: relocated expression must be 32-bit 18 @ CHECK: .short target(sbrel) 19 @ CHECK: ^ 20 21 .quad target(sbrel) 22 @ CHECK: error: relocated expression must be 32-bit 23 @ CHECK: .quad target(sbrel) 24 @ CHECK: ^ 25 26 27