fix another GCC bootstrap problem, which manifested as things

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



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81596 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-09-12 01:11:50 +00:00
parent 6f8e4dbfc4
commit 6b35bf187c

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";