Most streamers' InitSections just create a text section. Make that the default
[oota-llvm.git] / lib / MC / MCAsmStreamer.cpp
index 1a82fdebd0bcf332c727f13935903fec4ffe0495..96e14a9a8635a1cae4e3635645a7dddcd5c14755 100644 (file)
@@ -128,10 +128,6 @@ public:
   virtual void ChangeSection(const MCSection *Section,
                              const MCExpr *Subsection);
 
-  virtual void InitSections() {
-    SwitchSection(getContext().getObjectFileInfo()->getTextSection());
-  }
-
   virtual void EmitLabel(MCSymbol *Symbol);
   virtual void EmitDebugLabel(MCSymbol *Symbol);