[mips] Do not emit ".option pic0" if target is mips64.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185012 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/Mips/MipsAsmPrinter.cpp b/lib/Target/Mips/MipsAsmPrinter.cpp
index bab70af..c037c05 100644
--- a/lib/Target/Mips/MipsAsmPrinter.cpp
+++ b/lib/Target/Mips/MipsAsmPrinter.cpp
@@ -562,7 +562,7 @@
   if (OutStreamer.hasRawTextSupport()) {
     OutStreamer.EmitRawText(StringRef("\t.abicalls"));
     Reloc::Model RM = Subtarget->getRelocationModel();
-    if (RM == Reloc::Static)
+    if (RM == Reloc::Static && !Subtarget->hasMips64())
       OutStreamer.EmitRawText(StringRef("\t.option\tpic0"));
   }