[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / ARM / thumb1-relax.s
blobba261aa263564492213bc0e24e9b421689766523
1 @ RUN: not llvm-mc -triple thumbv6m-none-macho -filetype=obj -o /dev/null %s 2>&1 | FileCheck %s
2 @ RUN: not llvm-mc -triple thumbv6m-none-eabi -filetype=obj -o /dev/null %s 2>&1 | FileCheck %s
4 Lhere:
5 @ CHECK: out of range pc-relative fixup value
6 ldr r0, Lhere
8 @ CHECK: out of range pc-relative fixup value
9 b Lfar2
11 @ CHECK: out of range pc-relative fixup value
12 bne Lfar1
14 @ CHECK: out of range pc-relative fixup value
15 ldr r0, Lfar2
17 @ CHECK: misaligned pc-relative fixup value
18 adr r0, Lmisaligned
20 @ CHECK: misaligned pc-relative fixup value
21 ldr r0, Lmisaligned
23 .balign 4
24 .short 0
25 Lmisaligned:
26 .word 42
28 .space 256
29 Lfar1:
30 .word 42
32 .space 2050
33 Lfar2:
34 .word 42