some typoes and .bss isn't liked, at all
llvm-svn: 20542
diff --git a/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp b/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp
index acfeb91..8031d17 100644
--- a/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp
+++ b/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp
@@ -126,7 +126,7 @@
}
case MachineOperand::MO_ConstantPoolIndex:
- O << "$CPI" << CurrentFnName << "_" << MO.getConstantPoolIndex();
+ O << "CPI" << CurrentFnName << "_" << MO.getConstantPoolIndex();
return;
case MachineOperand::MO_ExternalSymbol:
@@ -211,7 +211,7 @@
for (unsigned i = 0, e = CP.size(); i != e; ++i) {
O << "\t.section\t.rodata\n";
emitAlignment(TD.getTypeAlignmentShift(CP[i]->getType()));
- O << "$CPI" << CurrentFnName << "_" << i << ":\t\t\t\t\t" << CommentString
+ O << "CPI" << CurrentFnName << "_" << i << ":\t\t\t\t\t" << CommentString
<< *CP[i] << "\n";
emitGlobalConstant(CP[i]);
}
@@ -279,12 +279,12 @@
// FALL THROUGH
case GlobalValue::InternalLinkage:
if (C->isNullValue())
- SwitchSection(O, CurSection, ".bss");
+ SwitchSection(O, CurSection, ".data"); //was .bss
else
SwitchSection(O, CurSection, ".data");
break;
case GlobalValue::GhostLinkage:
- std::cerr << "GhostLinkage cannot appear in X86AsmPrinter!\n";
+ std::cerr << "GhostLinkage cannot appear in AlphaAsmPrinter!\n";
abort();
}