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