From: Chris Lattner Date: Tue, 19 Jan 2010 05:25:38 +0000 (+0000) Subject: use %object like other elf targets, gas accepts either. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=074f837bbb6e21f8df290af60fe226dfaf3bdf35;p=oota-llvm.git use %object like other elf targets, gas accepts either. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93857 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp b/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp index ca586f68ea4..40c7f8bfdb3 100644 --- a/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp +++ b/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp @@ -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'; }