[lld] r279368 - Add R_386_TLS_LE as a relocation having an implicit addend.

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 22 14:25:08 PDT 2016


On Sat, Aug 20, 2016 at 3:54 AM, Ed Schouten via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: ed
> Date: Sat Aug 20 05:54:51 2016
> New Revision: 279368
>
> URL: http://llvm.org/viewvc/llvm-project?rev=279368&view=rev
> Log:
> Add R_386_TLS_LE as a relocation having an implicit addend.
>
> TLS on i386 in non-PIE/PIC code seems broken right now, because we don't
> properly add the addend encoded in the instruction to the resulting
> offset when processing R_386_TLS_LE relocations.
>
> Extend one of the existing tests for TLS on i686 to use an addend.
>
> PR:             https://llvm.org/bugs/show_bug.cgi?id=29068
> Reviewed by:    ruiu
> Differential Revision:  https://reviews.llvm.org/D23741

Merged to 3.9 in r279476.


More information about the llvm-commits mailing list