[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
necessary?
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6443
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug ld/6443] New: -pie issues with TLS relocations, jakub at redhat dot com, 2008/04/22
- [Bug ld/6443] -pie issues with TLS relocations, jakub at redhat dot com, 2008/04/22
- [Bug ld/6443] -pie issues with TLS relocations, jakub at redhat dot com, 2008/04/22
- [Bug ld/6443] -pie issues with TLS relocations, amodra at bigpond dot net dot au, 2008/04/22
- [Bug ld/6443] -pie issues with TLS relocations, hjl dot tools at gmail dot com, 2008/04/24
- [Bug ld/6443] -pie issues with TLS relocations, jakub at redhat dot com, 2008/04/24
- [Bug ld/6443] -pie issues with TLS relocations,
hjl dot tools at gmail dot com <=
- [Bug ld/6443] -pie issues with TLS relocations, hjl dot tools at gmail dot com, 2008/04/24
- [Bug ld/6443] -pie issues with TLS relocations, jakub at redhat dot com, 2008/04/24
- [Bug ld/6443] -pie issues with TLS relocations, hjl dot tools at gmail dot com, 2008/04/24