[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Jan 6 22:22:28 PST 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCCodeEmitter.cpp updated: 1.42 -> 1.43
---
Log message:
Fix the PPC JIT failures last night, which were due to mishandling of linkonce globals
---
Diffs of the changes: (+1 -0)
PPCCodeEmitter.cpp | 1 +
1 files changed, 1 insertion(+)
Index: llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp
diff -u llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp:1.42 llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp:1.43
--- llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp:1.42 Sun Dec 11 01:37:41 2005
+++ llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp Sat Jan 7 00:22:16 2006
@@ -194,6 +194,7 @@
} 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)
More information about the llvm-commits
mailing list