1 // RUN
: not llvm-mc
-triple aarch64-
-none-eabi
-filetype obj
< %s
-o
/dev
/null
2>&1 | FileCheck
%s
2 // RUN
: not llvm-mc
-triple aarch64-windows
-filetype obj
< %s
-o
/dev
/null
2>&1 | FileCheck
%s
4 // CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: fixup value out of range
7 // CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: fixup value out of range
10 // CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: fixup
not sufficiently aligned
13 // CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: fixup value out of range
16 // CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: fixup
not sufficiently aligned
19 // CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: fixup value out of range
20 ldr x0
, [x1
, distant-
.]
22 // CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: fixup must
be 8-byte aligned
23 ldr x0
, [x1
, unaligned-
.]
25 // CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: fixup value out of range
26 ldr w0
, [x1
, distant-
.]
28 // CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: fixup must
be 4-byte aligned
29 ldr w0
, [x1
, unaligned-
.]
31 // CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: fixup value out of range
32 ldrh w0
, [x1
, distant-
.]
34 // CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: fixup must
be 2-byte aligned
35 ldrh w0
, [x1
, unaligned-
.]
37 // CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: fixup value out of range
38 ldrb w0
, [x1
, distant-
.]
40 // CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: fixup value out of range
41 ldr q0
, [x1
, distant-
.]
43 // CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: fixup must
be 16-byte aligned
44 ldr q0
, [x1
, unaligned-
.]
46 // CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: fixup value out of range
49 // CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: fixup
not sufficiently aligned
52 // CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: fixup value out of range
55 // CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: fixup
not sufficiently aligned
58 // CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: fixup value out of range
59 movz x0
, #:abs_g0:value1
61 // CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: fixup value out of range
62 movz x0
, #:abs_g1:value2
64 // CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: fixup value out of range
65 movz x0
, #:abs_g0_s:value1
67 // CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: fixup value out of range
68 movz x0
, #:abs_g1_s:value2
70 // CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: relocation for
a thread-local variable points to an absolute symbol
71 movz x0
, #:tprel_g0:value1