2 // RUN
: llvm-mc
-filetype
=obj
-triple
=x86_64-pc-linux
%s
-o
%t.o
3 // RUN
: ld.lld
%t.o
-o
/dev
/null
-shared
4 // Allow user defined __init_array_start. This is used by musl because of the
5 // the bfd linker
not handling these properly. We always create them as
6 // hidden
, musl should
not have problems with lld.
8 .hidden __init_array_start
9 .globl __init_array_start