Define WeakRefDirective.
[oota-llvm.git] / lib / Target / Mips / MipsMCAsmInfo.cpp
index 89e3e11b0a7c2a59ebd5f409c355f0cb807560e6..ca00463a98b056afe77cece5bfb60398cbd20d67 100644 (file)
@@ -14,7 +14,7 @@
 #include "MipsMCAsmInfo.h"
 using namespace llvm;
 
-MipsMCAsmInfo::MipsMCAsmInfo(const Target &T, const StringRef &TT) {
+MipsMCAsmInfo::MipsMCAsmInfo(const Target &T, StringRef TT) {
   AlignmentIsInBytes          = false;
   Data16bitsDirective         = "\t.half\t";
   Data32bitsDirective         = "\t.word\t";
@@ -24,4 +24,5 @@ MipsMCAsmInfo::MipsMCAsmInfo(const Target &T, const StringRef &TT) {
   ZeroDirective               = "\t.space\t";
   GPRel32Directive            = "\t.gpword\t";
   HasSetDirective             = false;
+  WeakRefDirective            = "\t.weak\t";
 }