mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-20 09:30:43 +00:00
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:
parent
6f8e4dbfc4
commit
6b35bf187c
@ -91,7 +91,7 @@ MCSymbol *X86ATTAsmPrinter::GetGlobalAddressSymbol(const MachineOperand &MO) {
|
|||||||
Mang->getNameWithPrefix(Name, GV, false);
|
Mang->getNameWithPrefix(Name, GV, false);
|
||||||
StubSym = OutContext.GetOrCreateSymbol(Name.str());
|
StubSym = OutContext.GetOrCreateSymbol(Name.str());
|
||||||
}
|
}
|
||||||
break;
|
return Sym;
|
||||||
}
|
}
|
||||||
case X86II::MO_DARWIN_STUB: {
|
case X86II::MO_DARWIN_STUB: {
|
||||||
Name += "$stub";
|
Name += "$stub";
|
||||||
|
Loading…
Reference in New Issue
Block a user