Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / user_def_init_array_start.s
bloba06dbd84ea435e58761f80d6434cfd973121fc3a
1 // REQUIRES: x86
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
10 __init_array_start:
11 .zero 8