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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77203 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/TargetAsmInfo.cpp

index de333a81d181c64ad97724a0d21e735608fbe7f0..ce905effa79726b442599438aec1c79cdddcc10d 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() {