summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-03-16 22:52:04 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-03-16 22:52:04 +0000
commitd962dd552807caca09cb80352e08a97ac4535252 (patch)
treedaae0bfaa08046a87e771fc7eb9cc1e482245121
parent3fb0e203cd5ddd34cd741f307bea863c70793927 (diff)
downloadllvm-d962dd552807caca09cb80352e08a97ac4535252.tar.gz
The .type directive on Solaris uses the # character instead of @.
llvm-svn: 12454
-rw-r--r--llvm/lib/Target/SparcV8/SparcV8AsmPrinter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/SparcV8/SparcV8AsmPrinter.cpp b/llvm/lib/Target/SparcV8/SparcV8AsmPrinter.cpp
index 9dabdab517d2..a1f1a9aae9f4 100644
--- a/llvm/lib/Target/SparcV8/SparcV8AsmPrinter.cpp
+++ b/llvm/lib/Target/SparcV8/SparcV8AsmPrinter.cpp
@@ -337,7 +337,7 @@ bool V8Printer::runOnMachineFunction(MachineFunction &MF) {
O << "\t.text\n";
O << "\t.align 16\n";
O << "\t.globl\t" << CurrentFnName << "\n";
- O << "\t.type\t" << CurrentFnName << ", @function\n";
+ O << "\t.type\t" << CurrentFnName << ", #function\n";
O << CurrentFnName << ":\n";
// Number each basic block so that we can consistently refer to them
@@ -513,7 +513,7 @@ bool V8Printer::doFinalization(Module &M) {
}
O << "\t.align " << Align << "\n";
- O << "\t.type " << name << ",@object\n";
+ O << "\t.type " << name << ",#object\n";
O << "\t.size " << name << "," << Size << "\n";
O << name << ":\t\t\t\t! ";
WriteAsOperand(O, I, true, true, &M);