summaryrefslogtreecommitdiff
path: root/lib/Target/Sparc/AsmPrinter
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-19 05:25:38 +0000
committerChris Lattner <sabre@nondot.org>2010-01-19 05:25:38 +0000
commit074f837bbb6e21f8df290af60fe226dfaf3bdf35 (patch)
tree8f2dd91139dae10fb6fe6dd7c94a02ef17ebe51b /lib/Target/Sparc/AsmPrinter
parent07c2bc04f96ddb31d7b22cd7e3d13a18edcb4cd6 (diff)
downloadllvm-074f837bbb6e21f8df290af60fe226dfaf3bdf35.tar.gz
llvm-074f837bbb6e21f8df290af60fe226dfaf3bdf35.tar.bz2
llvm-074f837bbb6e21f8df290af60fe226dfaf3bdf35.tar.xz
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
Diffstat (limited to 'lib/Target/Sparc/AsmPrinter')
-rw-r--r--lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp b/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp
index ca586f68ea..40c7f8bfdb 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';
}