2 // RUN
: llvm-mc
-filetype
=obj
-triple
=armv7a-none-linux-gnueabi
%s
-o
%t.o
3 // RUN
: ld.lld
-r
%t.o
-o
%t2.o
4 // RUN
: ld.lld
-shared
%t2.o
-o
/dev
/null
6 // We used to crash using the output of
-r because of the relative order of
7 // SHF_LINK_ORDER sections.
9 // That can
be fixed by changing
-r
or making the regular link more flexible
,
10 // so this is an end to end test.