]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* nptl_db/db_info.c [TLS_DTV_AT_TP]: Fixed size init for dtvp
authorJakub Jelinek <jakub@redhat.com>
Fri, 12 Jan 2007 15:18:15 +0000 (15:18 +0000)
committerJakub Jelinek <jakub@redhat.com>
Fri, 12 Jan 2007 15:18:15 +0000 (15:18 +0000)
to sizeof a pointer, instead of sizeof the union.

nptl_db/ChangeLog
nptl_db/db_info.c

index 2bb82f488cc23c479d4cd0f9fe4b89cb0e14c366..6ec5ea3be002cd47857bf6a3665695f77487de1a 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-02-03  Roland McGrath  <roland@redhat.com>
 
        * structs.def: Add a descriptor for pointer.val field of dtv_t.
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