summaryrefslogtreecommitdiff
path: root/open_issues
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@schwinge.name>2010-07-30 15:11:29 +0200
committerThomas Schwinge <thomas@schwinge.name>2010-07-30 15:11:29 +0200
commitb99157573bd36c1d72c818c3196e58513cbd1d53 (patch)
treefdb5157ccaf2586b194842d7824613bda4a78702 /open_issues
parentf6c9caf13842e2213a5c69a482a37e0f13688c5d (diff)
open_issues/glibc_tls_segment_tcbhead_t_dtv_offset: More info.
Diffstat (limited to 'open_issues')
-rw-r--r--open_issues/glibc_tls_segment_tcbhead_t_dtv_offset.mdwn8
1 files changed, 8 insertions, 0 deletions
diff --git a/open_issues/glibc_tls_segment_tcbhead_t_dtv_offset.mdwn b/open_issues/glibc_tls_segment_tcbhead_t_dtv_offset.mdwn
index 0d856e1e..47f104c6 100644
--- a/open_issues/glibc_tls_segment_tcbhead_t_dtv_offset.mdwn
+++ b/open_issues/glibc_tls_segment_tcbhead_t_dtv_offset.mdwn
@@ -18,3 +18,11 @@ IRC, unknown channel, unknown date.
<youpi> what you don't know is that DTV_OFFSET is not relative to __pthread, but to the tls segment
<tschwinge> Oh, aha. Thanks.
<youpi> and drepper abused the fact that in nptl __pthread appears at the start of the tls segment
+
+kFreeBSD, glibc:
+
+ ++#if 0
+ + DTV_OFFSET offsetof(struct pthread, header.dtv)
+ ++#else
+ ++DTV_OFFSET offsetof(struct _pthread_descr_struct, p_header.data.dtvp)
+ ++#endif