From ff1f401f9be84723593e22d9df16029a4037a8fa Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 27 Jul 2009 16:44:04 +0000 Subject: don't create default text/data sections for all targets. llvm-svn: 77203 --- llvm/lib/Target/TargetAsmInfo.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'llvm/lib/Target') diff --git a/llvm/lib/Target/TargetAsmInfo.cpp b/llvm/lib/Target/TargetAsmInfo.cpp index de333a81d18..ce905effa79 100644 --- a/llvm/lib/Target/TargetAsmInfo.cpp +++ b/llvm/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() { -- cgit v1.2.3