summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLauro Ramos Venancio <lauro.venancio@gmail.com>2006-12-28 13:13:00 +0000
committerLauro Ramos Venancio <lauro.venancio@gmail.com>2006-12-28 13:13:00 +0000
commitda4842e266becaca6ca4b46428c277fc5fbadc7a (patch)
tree68c57c4348c1d7a8fb2285c5926259efebd649a4 /lib
parent301009a0fca8dea601d54954eaaa8fae1e055c75 (diff)
downloadllvm-da4842e266becaca6ca4b46428c277fc5fbadc7a.tar.gz
llvm-da4842e266becaca6ca4b46428c277fc5fbadc7a.tar.bz2
llvm-da4842e266becaca6ca4b46428c277fc5fbadc7a.tar.xz
Define StaticCtorsSection and StaticDtorsSection for ARM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32763 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ARM/ARMTargetAsmInfo.cpp2
1 files changed, 2 insertions, 0 deletions
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";
}