mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
lib/Target/X86/X86MCAsmInfo.cpp: [PR8741] On Win64, specify explicit PrivateGlobalPrefix as ".L".
Or, global symbols @Lxxxx might be treated as temporal symbol by MCSymbol. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121103 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6a3e305326
commit
63fbb52163
@ -103,8 +103,10 @@ getNonexecutableStackSection(MCContext &Ctx) const {
|
||||
}
|
||||
|
||||
X86MCAsmInfoCOFF::X86MCAsmInfoCOFF(const Triple &Triple) {
|
||||
if (Triple.getArch() == Triple::x86_64)
|
||||
if (Triple.getArch() == Triple::x86_64) {
|
||||
GlobalPrefix = "";
|
||||
PrivateGlobalPrefix = ".L";
|
||||
}
|
||||
|
||||
AsmTransCBE = x86_asm_table;
|
||||
AssemblerDialect = AsmWriterFlavor;
|
||||
|
Loading…
x
Reference in New Issue
Block a user