Displaying 3 results from an estimated 3 matches for "r_x86_64_tpoff32".
2013 May 22
2
[LLVMdev] TLS with MCJIT (an experimental patch)
...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
2013 May 22
0
[LLVMdev] TLS with MCJIT (an experimental patch)
To clarify, MCJIT currently has no GOT support whatsoever for ELF with x86-64 and ARM (and probably others). 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
2013 May 22
2
[LLVMdev] TLS with MCJIT (an experimental patch)
On 22 May 2013 09:37, David Chisnall <David.Chisnall at cl.cam.ac.uk> wrote:
> On 22 May 2013, at 14:28, Rafael EspĂndola <rafael.espindola at gmail.com> wrote:
>
>> I wouldn't be surprised if
>> these relocations are not implemented yet, but that should be all that
>> is needed to get tls working.
>
> That was, indeed, where this discussion started.