27 lines · plain
1@ RUN: not llvm-mc -triple armv7-eabi -filetype obj -o - %s 2>&1 \2@ RUN: | FileCheck %s3@ RUN: not llvm-mc -triple thumbv7-eabi -filetype obj -o - %s 2>&1 \4@ RUN: | FileCheck %s5 6 .byte target(sbrel)7@ CHECK: error: relocated expression must be 32-bit8@ CHECK: .byte target(sbrel)9@ CHECK: ^10 11 .hword target(sbrel)12@ CHECK: error: relocated expression must be 32-bit13@ CHECK: .hword target(sbrel)14@ CHECK: ^15 16 .short target(sbrel)17@ CHECK: error: relocated expression must be 32-bit18@ CHECK: .short target(sbrel)19@ CHECK: ^20 21 .quad target(sbrel)22@ CHECK: error: relocated expression must be 32-bit23@ CHECK: .quad target(sbrel)24@ CHECK: ^25 26 27