1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 11:33:24 +02:00

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.

This should be pulled into the 2.2 release branch.

llvm-svn: 46222
This commit is contained in:
Chris Lattner 2008-01-21 22:27:27 +00:00
parent 6fae526290
commit 831f4502e8

View File

@ -141,7 +141,7 @@ public:
Result.ConstantVal = cst; Result.ConstantVal = cst;
Result.TargetReloType = RelocationType; Result.TargetReloType = RelocationType;
Result.AddrType = isExtSym; Result.AddrType = isExtSym;
Result.NeedStub = false; Result.NeedStub = true;
Result.GOTRelative = GOTrelative; Result.GOTRelative = GOTrelative;
Result.Target.ExtSym = ES; Result.Target.ExtSym = ES;
return Result; return Result;