fix another GCC bootstrap problem, which manifested as things

like:
foo.s:2412:non-relocatable subtraction expression, "_gomp_tls_key" minus "L1$pb"

llvm-svn: 81596
This commit is contained in:
Chris Lattner 2009-09-12 01:11:50 +00:00
parent 020daa9476
commit 42c1287b68
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ MCSymbol *X86ATTAsmPrinter::GetGlobalAddressSymbol(const MachineOperand &MO) {
Mang->getNameWithPrefix(Name, GV, false);
StubSym = OutContext.GetOrCreateSymbol(Name.str());
}
break;
return Sym;
}
case X86II::MO_DARWIN_STUB: {
Name += "$stub";