[mips] Emit '.set nomicromips' before a function's entry label
[oota-llvm.git] / lib / Target / Mips / MipsAsmPrinter.cpp
index d5df855a5ecd50b25c9ebbd675de589f6d249e2e..a3d34f64635b5020afb2881ff4510e26209da4b2 100644 (file)
@@ -285,9 +285,8 @@ void MipsAsmPrinter::EmitFunctionEntryLabel() {
 
   if (Subtarget->inMicroMipsMode())
     TS.emitDirectiveSetMicroMips();
-  // leave out until FSF available gas has micromips changes
-  //  else
-  //    TS.emitDirectiveSetNoMicroMips();
+  else
+    TS.emitDirectiveSetNoMicroMips();
 
   if (Subtarget->inMips16Mode())
     TS.emitDirectiveSetMips16();