]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* nptl_db/db_info.c [TLS_DTV_AT_TP]: Fixed size init for dtvp
authorUlrich Drepper <drepper@redhat.com>
Tue, 31 Oct 2006 17:34:40 +0000 (17:34 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 31 Oct 2006 17:34:40 +0000 (17:34 +0000)
to sizeof a pointer, instead of sizeof the union.

nptl_db/ChangeLog
nptl_db/db_info.c

index f96ab04b86ba5fa67fa2ee6d57b9fd13621a1b4a..3a8c3c68e847a347e37a4f1a871c548c8435f211 100644 (file)
@@ -1,3 +1,8 @@
+2006-10-26  Pete Eberlein  <eberlein@us.ibm.com>
+
+       * nptl_db/db_info.c [TLS_DTV_AT_TP]: Fixed size init for dtvp
+       to sizeof a pointer, instead of sizeof the union.
+
 2006-10-27  Ulrich Drepper  <drepper@redhat.com>
 
        * structs.def: USE_TLS support is now default.
index 5000b99ba549145d60c0418c05e8ba03512e5541..6d5eb4b1d84854abe447ac160f05d2519116a686 100644 (file)
@@ -59,7 +59,7 @@ typedef struct link_map link_map;
    i.e. at the very end of the area covered by TLS_PRE_TCB_SIZE.  */
 DESC (_thread_db_pthread_dtvp,
       TLS_PRE_TCB_SIZE + offsetof (tcbhead_t, dtv)
-      - (TLS_TCB_SIZE == 0 ? sizeof (tcbhead_t) : 0), union dtv)
+      - (TLS_TCB_SIZE == 0 ? sizeof (tcbhead_t) : 0), union dtv *)
 #endif