Skip to content

Commit d18515a

Browse files
committed
Merge from mainline.
Fix the failures in the PPC JIT by marking relocation entries for external symbols (e.g. 'fmod') as needing a stub. This regression was introduced by Evan's jit patch here: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20071231/056749.html With this fixed, the two ExecutionEngine failures are passing on ppc, and the ppc jit works on freebench and olden. llvm-svn: 46225
1 parent 99d99dc commit d18515a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/CodeGen/MachineRelocation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ class MachineRelocation {
141141
Result.ConstantVal = cst;
142142
Result.TargetReloType = RelocationType;
143143
Result.AddrType = isExtSym;
144-
Result.NeedStub = false;
144+
Result.NeedStub = true;
145145
Result.GOTRelative = GOTrelative;
146146
Result.Target.ExtSym = ES;
147147
return Result;

0 commit comments

Comments
 (0)