diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-01-12 15:18:15 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-01-12 15:18:15 +0000 |
commit | ddbd39834f4ad28025fdcef5731acfd2e65ea564 (patch) | |
tree | abe5987a23332a1f99948374c792f316c67d32d8 /nptl_db | |
parent | 9ea3b0192f4f5bf36715957ab919bffbb24e9710 (diff) | |
download | glibc-ddbd39834f4ad28025fdcef5731acfd2e65ea564.tar glibc-ddbd39834f4ad28025fdcef5731acfd2e65ea564.tar.gz glibc-ddbd39834f4ad28025fdcef5731acfd2e65ea564.tar.bz2 glibc-ddbd39834f4ad28025fdcef5731acfd2e65ea564.zip |
* nptl_db/db_info.c [TLS_DTV_AT_TP]: Fixed size init for dtvp
to sizeof a pointer, instead of sizeof the union.
Diffstat (limited to 'nptl_db')
-rw-r--r-- | nptl_db/ChangeLog | 5 | ||||
-rw-r--r-- | nptl_db/db_info.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/nptl_db/ChangeLog b/nptl_db/ChangeLog index 2bb82f488c..6ec5ea3be0 100644 --- a/nptl_db/ChangeLog +++ b/nptl_db/ChangeLog @@ -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. diff --git a/nptl_db/db_info.c b/nptl_db/db_info.c index 5000b99ba5..6d5eb4b1d8 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 |