make constant pool labels local
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22294 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/Alpha/AlphaAsmPrinter.cpp b/lib/Target/Alpha/AlphaAsmPrinter.cpp
index 3f647d5..5caa5d9 100644
--- a/lib/Target/Alpha/AlphaAsmPrinter.cpp
+++ b/lib/Target/Alpha/AlphaAsmPrinter.cpp
@@ -135,7 +135,7 @@
}
case MachineOperand::MO_ConstantPoolIndex:
- O << "CPI" << CurrentFnName << "_" << MO.getConstantPoolIndex();
+ O << "$CPI" << CurrentFnName << "_" << MO.getConstantPoolIndex();
return;
case MachineOperand::MO_ExternalSymbol:
@@ -226,7 +226,7 @@
for (unsigned i = 0, e = CP.size(); i != e; ++i) {
// SwitchSection(O, "section .rodata, \"dr\"");
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]);
}