[llvm-commits] [llvm] r77203 - /llvm/trunk/lib/Target/TargetAsmInfo.cpp

Chris Lattner sabre at nondot.org
Mon Jul 27 09:44:16 PDT 2009


Author: lattner
Date: Mon Jul 27 11:44:04 2009
New Revision: 77203

URL: http://llvm.org/viewvc/llvm-project?rev=77203&view=rev
Log:
don't create default text/data sections for all targets.

Modified:
    llvm/trunk/lib/Target/TargetAsmInfo.cpp

Modified: llvm/trunk/lib/Target/TargetAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/TargetAsmInfo.cpp?rev=77203&r1=77202&r2=77203&view=diff

==============================================================================
--- llvm/trunk/lib/Target/TargetAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/TargetAsmInfo.cpp Mon Jul 27 11:44:04 2009
@@ -122,8 +122,6 @@
   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() {





More information about the llvm-commits mailing list