1# REQUIRES: x86
2# RUN: echo '.section .init_array, "aw"; .quad 0' \
3# RUN: | llvm-mc -filetype=obj -triple=x86_64-unknown-linux - -o %t.o
4# RUN: ld.lld %t.o -script %s -o %t 2>&1
5
6SECTIONS {
7 .init_array : {
8 __init_array_start = .;
9 *(.init_array)
10 __init_array_end = .;
11 }
12}
13