[LLVMdev] TLS with MCJIT (an experimental patch)
Keno Fischer
kfischer at college.harvard.edu
Sun Jan 19 21:30:55 PST 2014
I'd like to take a crack at this. Was there any more progress or work I
should be aware off?
Thanks,
Keno
On Wed, May 22, 2013 at 1:28 PM, Rafael EspĂndola <
rafael.espindola at gmail.com> wrote:
> On 22 May 2013 12:30, Kaylor, Andrew <andrew.kaylor at intel.com> wrote:
> > To clarify, MCJIT currently has no GOT support whatsoever for ELF with
> x86-64 and ARM (and probably others).
>
> No, I added a bare minimal to get EH working...
>
> > My experimental patch was meant as an attempt to get TLS working with
> static relocation model and small code model. It's the combination of
> these two that requires memory in the lower 2GB. MCJIT works with static
> and large, but the MC code generator has a problem with TLS and large code
> model.
>
> I see. Yes, on that model codegen would produce local exec TLS model
> and we would only need R_X86_64_TPOFF32 (and making sure the code was
> close to the tls block).
>
> > Obviously we just need to get PIC support in place for MCJIT.
>
> Agreed.
>
> Thanks,
> Rafael
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140120/68113dbe/attachment.html>
More information about the llvm-dev
mailing list