From: Lauro Ramos Venancio Date: Thu, 28 Dec 2006 13:13:00 +0000 (+0000) Subject: Define StaticCtorsSection and StaticDtorsSection for ARM. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=da4842e266becaca6ca4b46428c277fc5fbadc7a;p=oota-llvm.git Define StaticCtorsSection and StaticDtorsSection for ARM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32763 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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"; }