[PATCH] D26238: [LLD][ARM] Correct ARM TLS GOT entries without dynamic relocations.

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 21 08:50:37 PST 2016


Thanks for posting the patch, something like that would make it easier
to implement the ARM and most likely MIPS TLS support.

Peter

On 18 November 2016 at 22:12, Rafael EspĂ­ndola
<rafael.espindola at gmail.com> wrote:
>> The difficulty with this approach at the time was how to avoid writing the relocation into the file as well as statically resolving it. I thought that this would probably be messier than localising it here. With the new refactoring this might be easier so it will be worth taking another look.
>
> I gave it a quick try to handle the x86_64 case. The patch is
> attached. It is still pretty incomplete, but I think it is promising
> in making it explicit that sometimes the dynamic linker computes a
> value, sometimes lld computes the value.
>
> Cheers,
> Rafael


More information about the llvm-commits mailing list