mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 06:30:16 +00:00
Copy and paste error. An initialized global cannot be a weak reference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32075 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fbb74e6941
commit
9382e29c1e
@ -604,9 +604,6 @@ bool DarwinAsmPrinter::doFinalization(Module &M) {
|
||||
O << "\t\t; '" << I->getName() << "'\n";
|
||||
} else {
|
||||
switch (I->getLinkage()) {
|
||||
case GlobalValue::ExternalWeakLinkage:
|
||||
O << "\t.weak_reference " << name << "\n";
|
||||
break;
|
||||
case GlobalValue::LinkOnceLinkage:
|
||||
case GlobalValue::WeakLinkage:
|
||||
O << "\t.globl " << name << '\n'
|
||||
|
Loading…
x
Reference in New Issue
Block a user