diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-02 00:34:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-02 00:34:36 +0000 |
commit | 4e7dfafc03188ad9e14e9c3c2b8039224792c5b7 (patch) | |
tree | ce59a660f6a02724d12ef8bd0397ada94a5325c5 /llvm/lib/Target/DarwinTargetAsmInfo.cpp | |
parent | c4d6f83f20b6ab19a13f5e4181ed95256fa106e6 (diff) | |
download | bcm5719-llvm-4e7dfafc03188ad9e14e9c3c2b8039224792c5b7.tar.gz bcm5719-llvm-4e7dfafc03188ad9e14e9c3c2b8039224792c5b7.zip |
convert ctors/dtors section to be in TLOF instead of
TAI.
llvm-svn: 77842
Diffstat (limited to 'llvm/lib/Target/DarwinTargetAsmInfo.cpp')
-rw-r--r-- | llvm/lib/Target/DarwinTargetAsmInfo.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/Target/DarwinTargetAsmInfo.cpp b/llvm/lib/Target/DarwinTargetAsmInfo.cpp index cca12c01cb0..24bc9a5fa79 100644 --- a/llvm/lib/Target/DarwinTargetAsmInfo.cpp +++ b/llvm/lib/Target/DarwinTargetAsmInfo.cpp @@ -48,15 +48,6 @@ DarwinTargetAsmInfo::DarwinTargetAsmInfo(const TargetMachine &TM) WeakRefDirective = "\t.weak_reference "; HiddenDirective = "\t.private_extern "; - // Sections: - if (TM.getRelocationModel() == Reloc::Static) { - StaticCtorsSection = ".constructor"; - StaticDtorsSection = ".destructor"; - } else { - StaticCtorsSection = ".mod_init_func"; - StaticDtorsSection = ".mod_term_func"; - } - // _foo.eh symbols are currently always exported so that the linker knows // about them. This may not strictly be necessary on 10.6 and later, but it // doesn't hurt anything. |