From: Chris Lattner Date: Mon, 27 Jul 2009 16:44:04 +0000 (+0000) Subject: don't create default text/data sections for all targets. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=afcb70bc734dab26918c7ede8e4c96818dddf056;p=oota-llvm.git don't create default text/data sections for all targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77203 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/TargetAsmInfo.cpp b/lib/Target/TargetAsmInfo.cpp index de333a81d18..ce905effa79 100644 --- a/lib/Target/TargetAsmInfo.cpp +++ b/lib/Target/TargetAsmInfo.cpp @@ -122,8 +122,6 @@ TargetAsmInfo::TargetAsmInfo(const TargetMachine &tm) : TM(tm) { DwarfEHFrameSection = ".eh_frame"; DwarfExceptionSection = ".gcc_except_table"; AsmTransCBE = 0; - TextSection = getOrCreateSection("\t.text", true, SectionKind::Text); - DataSection = getOrCreateSection("\t.data", true, SectionKind::DataRel); } TargetAsmInfo::~TargetAsmInfo() {