projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2199877
)
Fix the PPC JIT failures last night, which were due to mishandling of linkonce globals
author
Chris Lattner
<sabre@nondot.org>
Sat, 7 Jan 2006 06:22:16 +0000
(06:22 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 7 Jan 2006 06:22:16 +0000
(06:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25141
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCCodeEmitter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCCodeEmitter.cpp
b/lib/Target/PowerPC/PPCCodeEmitter.cpp
index 95f84ebe74284f9c5aaa1c90d432e08f19aa784a..bda49a8095a05a75b061a36be346365c72929855 100644
(file)
--- a/
lib/Target/PowerPC/PPCCodeEmitter.cpp
+++ b/
lib/Target/PowerPC/PPCCodeEmitter.cpp
@@
-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)