[LLVMbugs] [Bug 283] Need support for position independent code & relocations

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Nov 22 14:07:12 PST 2004


sabre at nondot.org changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

------- Additional Comments From sabre at nondot.org  2004-11-22 16:07 -------
This is now fixed.  The target code emitters now produce a block of machine code
and a bunch of MachineRelocation objects.  The JIT now uses these to relocate
the machine code to where ever the code ends up.  Both the X86 and V9 JITs have
been updated to use the new interfaces, and I sped up the V9 JIT and fixed bugs
in it in the process (Olden works with the V9 JIT again now, woo!).

This makes the code much cleaner, gets a bunch of JIT-specific cruft out of the
MachineCodeEmitter class, and factors common code out of targets into the JIT. 
For all of these reasons and more it also makes the PPC JIT easier to do.


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list