Fix elf object definition.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33502 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Lauro Ramos Venancio 2007-01-25 20:11:04 +00:00
parent 743fa032a7
commit b1cc052823

View 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()) {