aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/Alpha/AlphaAsmPrinter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/Alpha/AlphaAsmPrinter.cpp b/lib/Target/Alpha/AlphaAsmPrinter.cpp
index acfeb9174c..8031d1747f 100644
--- a/lib/Target/Alpha/AlphaAsmPrinter.cpp
+++ b/lib/Target/Alpha/AlphaAsmPrinter.cpp
@@ -126,7 +126,7 @@ void AlphaAsmPrinter::printOp(const MachineOperand &MO, bool IsCallOp) {
}
case MachineOperand::MO_ConstantPoolIndex:
- O << "$CPI" << CurrentFnName << "_" << MO.getConstantPoolIndex();
+ O << "CPI" << CurrentFnName << "_" << MO.getConstantPoolIndex();
return;
case MachineOperand::MO_ExternalSymbol:
@@ -211,7 +211,7 @@ void AlphaAsmPrinter::printConstantPool(MachineConstantPool *MCP) {
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 @@ bool AlphaAsmPrinter::doFinalization(Module &M) {
// 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();
}