mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 07:31:47 +00:00
Fix the PPC JIT failures last night, which were due to mishandling of linkonce globals
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25141 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2199877563
commit
5fe0e28650
@ -194,6 +194,7 @@ int PPCCodeEmitter::getMachineOpValue(MachineInstr &MI, MachineOperand &MO) {
|
||||
} else if (MO.isGlobalAddress() || MO.isExternalSymbol()) {
|
||||
bool isExternal = MO.isExternalSymbol() ||
|
||||
MO.getGlobal()->hasWeakLinkage() ||
|
||||
MO.getGlobal()->hasLinkOnceLinkage() ||
|
||||
MO.getGlobal()->isExternal();
|
||||
unsigned Reloc = 0;
|
||||
if (MI.getOpcode() == PPC::BL)
|
||||
|
Loading…
Reference in New Issue
Block a user