don't create default text/data sections for all targets.
authorChris Lattner <sabre@nondot.org>
Mon, 27 Jul 2009 16:44:04 +0000 (16:44 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 27 Jul 2009 16:44:04 +0000 (16:44 +0000)
llvm-svn: 77203

llvm/lib/Target/TargetAsmInfo.cpp

index de333a8..ce905ef 100644 (file)
@@ -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() {