Fix elf object definition.
authorLauro Ramos Venancio <lauro.venancio@gmail.com>
Thu, 25 Jan 2007 20:11:04 +0000 (20:11 +0000)
committerLauro Ramos Venancio <lauro.venancio@gmail.com>
Thu, 25 Jan 2007 20:11:04 +0000 (20:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33502 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMAsmPrinter.cpp

index 3bdf3f967cc2dd33b2e3730a6a247e3ebdd511ee..c1946ded1459c2401b579258981115f920657138 100644 (file)
@@ -725,7 +725,7 @@ bool ARMAsmPrinter::doFinalization(Module &M) {
       if (const char *Directive = TAI->getHiddenDirective())
         O << Directive << name << "\n";
     if (Subtarget->isTargetELF())
-      O << "\t.type " << name << ",@object\n";
+      O << "\t.type " << name << ",%object\n";
     
     if (C->isNullValue()) {
       if (I->hasExternalLinkage()) {