Define StaticCtorsSection and StaticDtorsSection for ARM.
authorLauro Ramos Venancio <lauro.venancio@gmail.com>
Thu, 28 Dec 2006 13:13:00 +0000 (13:13 +0000)
committerLauro Ramos Venancio <lauro.venancio@gmail.com>
Thu, 28 Dec 2006 13:13:00 +0000 (13:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32763 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMTargetAsmInfo.cpp

index 510c0092ff5962449bad25f0ff594da21b358b79..a1c623c85a36c377ae7025f2a94dc08e5411d367 100644 (file)
@@ -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";
 }