[lld] r339042 - [ELF] Don't copy STT_TLS in copy relocation

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 13 16:26:06 PDT 2018


On Mon, Aug 06, 2018 at 07:09:40PM -0000, Fangrui Song via llvm-commits wrote:
> Author: maskray
> Date: Mon Aug  6 12:09:40 2018
> New Revision: 339042
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=339042&view=rev
> Log:
> [ELF] Don't copy STT_TLS in copy relocation

How is this supposed to work if the main executable wants to access the
TLS variable using fixed offsets?

Joerg


More information about the llvm-commits mailing list