mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
ExternalWeak case in wrong location.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32073 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2c0fbb1cb6
commit
45e507ca9b
@ -604,10 +604,10 @@ bool DarwinAsmPrinter::doFinalization(Module &M) {
|
||||
O << "\t\t; '" << I->getName() << "'\n";
|
||||
} else {
|
||||
switch (I->getLinkage()) {
|
||||
case GlobalValue::LinkOnceLinkage:
|
||||
case GlobalValue::ExternalWeakLinkage:
|
||||
O << "\t.weak_reference " << name << "\n";
|
||||
break;
|
||||
case GlobalValue::LinkOnceLinkage:
|
||||
case GlobalValue::WeakLinkage:
|
||||
O << "\t.globl " << name << '\n'
|
||||
<< "\t.weak_definition " << name << '\n';
|
||||
|
Loading…
x
Reference in New Issue
Block a user