From c87ce8ee4b41a07981f75ee6df0f430ffbce86dd Mon Sep 17 00:00:00 2001 From: Lauro Ramos Venancio Date: Thu, 28 Dec 2006 13:13:00 +0000 Subject: [PATCH] Define StaticCtorsSection and StaticDtorsSection for ARM. llvm-svn: 32763 --- lib/Target/ARM/ARMTargetAsmInfo.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Target/ARM/ARMTargetAsmInfo.cpp b/lib/Target/ARM/ARMTargetAsmInfo.cpp index 510c0092ff5..a1c623c85a3 100644 --- a/lib/Target/ARM/ARMTargetAsmInfo.cpp +++ b/lib/Target/ARM/ARMTargetAsmInfo.cpp @@ -24,4 +24,6 @@ ARMTargetAsmInfo::ARMTargetAsmInfo(const ARMTargetMachine &TM) { ConstantPoolSection = "\t.text\n"; AlignmentIsInBytes = false; WeakRefDirective = "\t.weak\t"; + StaticCtorsSection = "\t.section .ctors,\"aw\",%progbits"; + StaticDtorsSection = "\t.section .dtors,\"aw\",%progbits"; }