[llvm-commits] [llvm] r46225 - /llvm/branches/release_22/include/llvm/CodeGen/MachineRelocation.h

Tanya Lattner tonic at nondot.org
Mon Jan 21 14:45:15 PST 2008


Author: tbrethou
Date: Mon Jan 21 16:45:15 2008
New Revision: 46225

URL: http://llvm.org/viewvc/llvm-project?rev=46225&view=rev
Log:
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.

Modified:
    llvm/branches/release_22/include/llvm/CodeGen/MachineRelocation.h

Modified: llvm/branches/release_22/include/llvm/CodeGen/MachineRelocation.h
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_22/include/llvm/CodeGen/MachineRelocation.h?rev=46225&r1=46224&r2=46225&view=diff

==============================================================================
--- llvm/branches/release_22/include/llvm/CodeGen/MachineRelocation.h (original)
+++ llvm/branches/release_22/include/llvm/CodeGen/MachineRelocation.h Mon Jan 21 16:45:15 2008
@@ -141,7 +141,7 @@
     Result.ConstantVal = cst;
     Result.TargetReloType = RelocationType;
     Result.AddrType = isExtSym;
-    Result.NeedStub = false;
+    Result.NeedStub = true;
     Result.GOTRelative = GOTrelative;
     Result.Target.ExtSym = ES;
     return Result;





More information about the llvm-commits mailing list