diff options
author | Lauro Ramos Venancio <lauro.venancio@gmail.com> | 2006-12-28 13:13:00 +0000 |
---|---|---|
committer | Lauro Ramos Venancio <lauro.venancio@gmail.com> | 2006-12-28 13:13:00 +0000 |
commit | da4842e266becaca6ca4b46428c277fc5fbadc7a (patch) | |
tree | 68c57c4348c1d7a8fb2285c5926259efebd649a4 /lib | |
parent | 301009a0fca8dea601d54954eaaa8fae1e055c75 (diff) | |
download | llvm-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.cpp | 2 |
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"; } |