2 // RUN
: llvm-mc
-filetype
=obj
-triple
=thumbv7a-none-linux-gnueabi
%s
-o
%t
3 // RUN
: not ld.lld
%t -o
/dev
/null
2>&1 | FileCheck
%s
5 // RUN
: llvm-mc
-filetype
=obj
-triple
=thumbv7aeb-none-linux-gnueabi
%s
-o
%t
6 // RUN
: not ld.lld
%t -o
/dev
/null
2>&1 | FileCheck
%s
7 // RUN
: not ld.lld
--be8
%t -o
/dev
/null
2>&1 | FileCheck
%s
14 .type _start, %function
18 .section .text.large1, "ax", %progbits
20 .space (17 * 1024 * 1024)
22 .space (17 * 1024 * 1024)
24 // CHECK
: error
: InputSection too large for range extension thunk
{{.*}}.text.large1