From da4842e266becaca6ca4b46428c277fc5fbadc7a Mon Sep 17 00:00:00 2001 From: Lauro Ramos Venancio Date: Thu, 28 Dec 2006 13:13:00 +0000 Subject: Define StaticCtorsSection and StaticDtorsSection for ARM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32763 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMTargetAsmInfo.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/Target/ARM/ARMTargetAsmInfo.cpp b/lib/Target/ARM/ARMTargetAsmInfo.cpp index 510c0092ff..a1c623c85a 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"; } -- cgit v1.2.3