• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3
4Lhere:
5@ CHECK: out of range pc-relative fixup value
6  ldr r0, Lhere
7
8@ CHECK: out of range pc-relative fixup value
9  b Lfar2
10
11@ CHECK: out of range pc-relative fixup value
12  bne Lfar1
13
14@ CHECK: out of range pc-relative fixup value
15  ldr r0, Lfar2
16
17@ CHECK: misaligned pc-relative fixup value
18  adr r0, Lmisaligned
19
20@ CHECK: misaligned pc-relative fixup value
21  ldr r0, Lmisaligned
22
23  .balign 4
24  .short 0
25Lmisaligned:
26  .word 42
27
28  .space 256
29Lfar1:
30  .word 42
31
32  .space 2050
33Lfar2:
34  .word 42
35
36