make constant pool labels local
authorAndrew Lenharth <andrewl@lenharth.org>
Mon, 27 Jun 2005 16:29:54 +0000 (16:29 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Mon, 27 Jun 2005 16:29:54 +0000 (16:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22294 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Alpha/AlphaAsmPrinter.cpp

index 3f647d5cfe881c71a4fc4ec97015dc1ca21e4fee..5caa5d9f7726d8371f7fae7b19af60e656505694 100644 (file)
@@ -135,7 +135,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:
@@ -226,7 +226,7 @@ void AlphaAsmPrinter::printConstantPool(MachineConstantPool *MCP) {
   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]);
   }