1*f4a2713aSLionel Sambuc; RUN: llc < %s -mtriple=i386-unknown-linux-gnu | FileCheck %s -check-prefix=LINUX 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambucdeclare i32 @foo() 4*f4a2713aSLionel Sambuc@G0 = global i32 ()* @foo, section ".init_array" 5*f4a2713aSLionel Sambuc 6*f4a2713aSLionel Sambuc; LINUX: .section .init_array,"aw" 7*f4a2713aSLionel Sambuc; LINUX: .globl G0 8*f4a2713aSLionel Sambuc 9*f4a2713aSLionel Sambuc@G1 = global i32 ()* @foo, section ".fini_array" 10*f4a2713aSLionel Sambuc 11*f4a2713aSLionel Sambuc; LINUX: .section .fini_array,"aw" 12*f4a2713aSLionel Sambuc; LINUX: .globl G1 13*f4a2713aSLionel Sambuc 14*f4a2713aSLionel Sambuc@G2 = global i32 ()* @foo, section ".preinit_array" 15*f4a2713aSLionel Sambuc 16*f4a2713aSLionel Sambuc; LINUX: .section .preinit_array,"aw" 17*f4a2713aSLionel Sambuc; LINUX: .globl G2 18*f4a2713aSLionel Sambuc 19