From 2a9b4a0cce09a1bccb092ddc9fb98532ec8b720f Mon Sep 17 00:00:00 2001 From: joseph Date: Tue, 7 Nov 2006 22:59:31 +0000 Subject: Merge changes between r426 and r615 from /fsf/trunk. git-svn-id: svn://svn.eglibc.org/trunk@616 7b3dc134-2b1b-0410-93df-9e9f96275f8d --- libc/nptl_db/ChangeLog | 9 +++++++++ libc/nptl_db/db_info.c | 2 +- libc/nptl_db/structs.def | 6 +----- 3 files changed, 11 insertions(+), 6 deletions(-) (limited to 'libc/nptl_db') diff --git a/libc/nptl_db/ChangeLog b/libc/nptl_db/ChangeLog index 2bb82f488..3a8c3c68e 100644 --- a/libc/nptl_db/ChangeLog +++ b/libc/nptl_db/ChangeLog @@ -1,3 +1,12 @@ +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. + 2006-02-03 Roland McGrath * structs.def: Add a descriptor for pointer.val field of dtv_t. diff --git a/libc/nptl_db/db_info.c b/libc/nptl_db/db_info.c index 5000b99ba..6d5eb4b1d 100644 --- a/libc/nptl_db/db_info.c +++ b/libc/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 diff --git a/libc/nptl_db/structs.def b/libc/nptl_db/structs.def index 823af5cba..20fa01490 100644 --- a/libc/nptl_db/structs.def +++ b/libc/nptl_db/structs.def @@ -68,15 +68,11 @@ DB_STRUCT_FIELD (pthread_key_data, data) DB_STRUCT (pthread_key_data_level2) DB_STRUCT_ARRAY_FIELD (pthread_key_data_level2, data) -#if USE_TLS DB_STRUCT_FIELD (link_map, l_tls_modid) -#endif -#if !defined IS_IN_libpthread || USE_TLS DB_STRUCT_ARRAY_FIELD (dtv, dtv) -# define pointer_val pointer.val /* Field of anonymous struct in dtv_t. */ +#define pointer_val pointer.val /* Field of anonymous struct in dtv_t. */ DB_STRUCT_FIELD (dtv_t, pointer_val) -#endif #if !defined IS_IN_libpthread || TLS_TCB_AT_TP DB_STRUCT_FIELD (pthread, dtvp) #endif -- cgit v1.2.3