mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-01 07:11:45 +00:00
Fix the PPC JIT failures last night, which were due to mishandling of linkonce globals
llvm-svn: 25141
This commit is contained in:
parent
446a1e7a68
commit
00d77e22d4
@ -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…
x
Reference in New Issue
Block a user