From: Ulrich Drepper Date: Tue, 31 Oct 2006 17:34:40 +0000 (+0000) Subject: * nptl_db/db_info.c [TLS_DTV_AT_TP]: Fixed size init for dtvp X-Git-Tag: cvs/fedora-glibc-20061103T1610~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=416b630981788c1f08e746e19765aa0e5c2a1360;p=thirdparty%2Fglibc.git * nptl_db/db_info.c [TLS_DTV_AT_TP]: Fixed size init for dtvp to sizeof a pointer, instead of sizeof the union. --- diff --git a/nptl_db/ChangeLog b/nptl_db/ChangeLog index f96ab04b86b..3a8c3c68e84 100644 --- a/nptl_db/ChangeLog +++ b/nptl_db/ChangeLog @@ -1,3 +1,8 @@ +2006-10-26 Pete Eberlein + + * 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 * structs.def: USE_TLS support is now default. diff --git a/nptl_db/db_info.c b/nptl_db/db_info.c index 5000b99ba54..6d5eb4b1d84 100644 --- a/nptl_db/db_info.c +++ b/nptl_db/db_info.c @@ -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