mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Be consistent with gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28682 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
32a90f85af
commit
f8614db52e
@ -146,7 +146,7 @@ bool X86SharedAsmPrinter::doFinalization(Module &M) {
|
||||
if (Subtarget->TargetType == X86Subtarget::isDarwin) {
|
||||
O << "\t.globl " << name << "\n"
|
||||
<< "\t.weak_definition " << name << "\n";
|
||||
SwitchToDataSection(".section __DATA,__datacoal_nt,coalesced", I);
|
||||
SwitchToDataSection(".section __DATA,__const_coal,coalesced", I);
|
||||
} else if (Subtarget->TargetType == X86Subtarget::isCygwin) {
|
||||
O << "\t.section\t.llvm.linkonce.d." << name << ",\"aw\"\n"
|
||||
<< "\t.weak " << name << "\n";
|
||||
|
Loading…
Reference in New Issue
Block a user