1 ; RUN: llc < %s -mtriple=i386-unknown-linux-gnu | FileCheck %s
5 @init_array1 = global ptr @foo, section ".init_array"
6 @init_array2 = global ptr @foo, section ".init_array.00001"
7 @init_array3 = global ptr @foo, section ".init_arrayfoo"
9 ; CHECK-LABEL: .section .init_array,"aw",@init_array
11 ; CHECK-LABEL: .section .init_array.00001,"aw",@init_array
13 ; CHECK-LABEL: .section .init_arrayfoo,"aw",@progbits
16 @fini_array1 = global ptr @foo, section ".fini_array"
17 @fini_array2 = global ptr @foo, section ".fini_array.00001"
18 @fini_array3 = global ptr @foo, section ".fini_arrayfoo"
20 ; CHECK-LABEL: .section .fini_array,"aw",@fini_array
22 ; CHECK-LABEL: .section .fini_array.00001,"aw",@fini_array
24 ; CHECK-LABEL: .section .fini_arrayfoo,"aw",@progbits
27 @preinit_array1 = global ptr @foo, section ".preinit_array"
28 @preinit_array2 = global ptr @foo, section ".preinit_array.00001"
29 @preinit_array3 = global ptr @foo, section ".preinit_arrayfoo"
31 ; CHECK-LABEL: .section .preinit_array,"aw",@preinit_array
32 ; CHECK: preinit_array1:
33 ; CHECK-LABEL: .section .preinit_array.00001,"aw",@preinit_array
34 ; CHECK: preinit_array2:
35 ; CHECK-LABEL: .section .preinit_arrayfoo,"aw",@progbits
36 ; CHECK: preinit_array3: