disable use of directive .set nomicromips

until this directive is pushed in gas to open source fsf

Patch by Reed Kotler.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158381 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Akira Hatanaka 2012-06-13 02:41:14 +00:00
parent 1c2d3c538c
commit 942918d13e
2 changed files with 3 additions and 2 deletions

View File

@ -200,7 +200,8 @@ void MipsAsmPrinter::EmitFunctionEntryLabel() {
OutStreamer.EmitRawText(StringRef("\t.set\tmips16"));
else
OutStreamer.EmitRawText(StringRef("\t.set\tnomips16"));
OutStreamer.EmitRawText(StringRef("\t.set\tnomicromips"));
// leave out until FSF available gas has micromips changes
// OutStreamer.EmitRawText(StringRef("\t.set\tnomicromips"));
OutStreamer.EmitRawText("\t.ent\t" + Twine(CurrentFnSym->getName()));
}
OutStreamer.EmitLabel(CurrentFnSym);

View File

@ -6,7 +6,7 @@ entry:
ret i32 0
; 16: .set mips16 # @main
; 16: .set nomicromips
; 16: jr $ra