mirror of
https://github.com/AxioDL/lld.git
synced 2026-03-30 11:44:17 -07:00
512da46b4e
Fixes pr27683. git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@268926 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
413 B
ArmAsm
11 lines
413 B
ArmAsm
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
|
|
// RUN: ld.lld %t.o -o %t2.so -shared
|
|
// Allow user defined __init_array_start. This is used by musl because of the
|
|
// the bfd linker not handling these properly. We always create them as
|
|
// hidden, musl should not have problems with lld.
|
|
|
|
.hidden __init_array_start
|
|
.globl __init_array_start
|
|
__init_array_start:
|
|
.zero 8
|