mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-18 12:16:13 +08:00
* nptl_db/db_info.c [TLS_DTV_AT_TP]: Fixed size init for dtvp
to sizeof a pointer, instead of sizeof the union.
This commit is contained in:
parent
9ea3b0192f
commit
ddbd39834f
@ -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.
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user