Add support for the .zero directive.
[oota-llvm.git] / lib / MC / MCAssembler.cpp
index 8db1536d2d505f0b8d48a9c9b5ca36e53ac6f382..bb1249950cba9486f5b49aa866b164fbbbac1131 100644 (file)
@@ -739,7 +739,7 @@ void MCAssembler::Finish(MCObjectWriter *Writer) {
     // Create dummy fragments to eliminate any empty sections, this simplifies
     // layout.
     if (it->getFragmentList().empty())
-      new MCFillFragment(0, 1, 0, it);
+      new MCDataFragment(it);
 
     it->setOrdinal(SectionIndex++);
   }