1 @ RUN
: not llvm-mc
-triple armv7a-
-none-eabi
-filetype obj
< %s
-o
/dev
/null
2>&1 | FileCheck
%s
2 @ RUN
: not llvm-mc
-triple thumbv7a-
-none-eabi
-filetype obj
< %s
-o
/dev
/null
2>&1 | FileCheck
%s
4 @ Note
: These errors are
not always emitted in the order in which the relevant
5 @ source appears
, this file is carefully ordered so that that is the case.
8 @ CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: symbol
'undef' can
not be undefined in
a subtraction expression
11 @ CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: expected relocatable expression
14 @ CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: symbol
'undef' can
not be undefined in
a subtraction expression
17 @ CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: Cannot represent
a difference across sections
20 @ CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: invalid fixup for
{{ARM|Thumb
}} MOVT instruction
21 movt
r9, :upper16
: bar
(PREL31
)
23 @ CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: invalid fixup for
{{ARM|Thumb
}} MOVW instruction
24 movw
r9, :lower16
: bar
(PREL31
)
26 @ CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: invalid fixup for
1-byte data relocation
29 @ CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: invalid fixup for
2-byte data relocation
32 @ CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: invalid fixup for
4-byte data relocation
35 @ CHECK
: :[[@LINE+
1]]:{{[0-9]+}}: error
: invalid fixup for
4-byte pc-relative data relocation
36 .word x_a(PLT) - label1