[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Thu Mar 10 11:02:15 PST 2005
Changes in directory llvm/lib/Target/Alpha:
AlphaAsmPrinter.cpp updated: 1.7 -> 1.8
---
Log message:
some typoes and .bss isn't liked, at all
---
Diffs of the changes: (+4 -4)
AlphaAsmPrinter.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp
diff -u llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.7 llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.8
--- llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.7 Fri Feb 25 16:55:15 2005
+++ llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp Thu Mar 10 13:02:02 2005
@@ -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();
}
More information about the llvm-commits
mailing list