diff options
-rw-r--r-- | lib/Target/SparcV9/SparcV9AsmPrinter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/SparcV9/SparcV9AsmPrinter.cpp b/lib/Target/SparcV9/SparcV9AsmPrinter.cpp index 6aa5a21c12..aa676301e4 100644 --- a/lib/Target/SparcV9/SparcV9AsmPrinter.cpp +++ b/lib/Target/SparcV9/SparcV9AsmPrinter.cpp @@ -214,6 +214,7 @@ void SparcAsmPrinter::emitMethod(const Method *M) { enterSection(Text); Out << "\t.align 4\n\t.global\t" << MethName << "\n"; //Out << "\t.type\t" << MethName << ",#function\n"; + Out << "\t.type\t" << MethName << ", 2\n"; Out << MethName << ":\n"; // Output code for all of the basic blocks in the method... |