use %object like other elf targets, gas accepts either.
authorChris Lattner <sabre@nondot.org>
Tue, 19 Jan 2010 05:25:38 +0000 (05:25 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 19 Jan 2010 05:25:38 +0000 (05:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93857 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp

index ca586f68ea4e669f6ac18de57ba5099f2fd8c565..40c7f8bfdb3a0bb6aff770fb941c9368ea17fda7 100644 (file)
@@ -348,7 +348,7 @@ void SparcAsmPrinter::PrintGlobalVariable(const GlobalVariable* GVar) {
   EmitAlignment(Align, GVar);
 
   if (MAI->hasDotTypeDotSizeDirective()) {
-    O << "\t.type " << *GVarSym << ",#object\n";
+    O << "\t.type " << *GVarSym << ",%object\n";
     O << "\t.size " << *GVarSym << ',' << Size << '\n';
   }