[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/6443] -pie issues with TLS relocations

From: hjl dot tools at gmail dot com
Subject: [Bug ld/6443] -pie issues with TLS relocations
Date: 24 Apr 2008 13:25:11 -0000

------- Additional Comments From hjl dot tools at gmail dot com  2008-04-24 
13:25 -------
(In reply to comment #4)
> The important thing is that executables and PIEs are always the first in the
> symbol search scope, so the linker can compute the offsets within the TLS 
> block
> at runtime.  For shared libraries you can't do that, as you don't know how big
> the executable or PIE's TLS block will be, what alignment will it need etc.,
> so for those you need a runtime relocation.

Can you add those comments in your patch? Also please add a testcase
for each change. Your testcase only shows R_X86_64_TPOFF32 is affected. But
your proposed change affects many other TLS relocations. Are they really



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]