From 32c075e1f01849e161724bbd400ba77244e482cc Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 31 Jul 2007 13:33:18 +0000 Subject: . --- nptl_db/ChangeLog | 4 ---- nptl_db/structs.def | 6 +++++- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'nptl_db') diff --git a/nptl_db/ChangeLog b/nptl_db/ChangeLog index 3a8c3c68e8..6ec5ea3be0 100644 --- a/nptl_db/ChangeLog +++ b/nptl_db/ChangeLog @@ -3,10 +3,6 @@ * 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/nptl_db/structs.def b/nptl_db/structs.def index 20fa014909..823af5cba2 100644 --- a/nptl_db/structs.def +++ b/nptl_db/structs.def @@ -68,11 +68,15 @@ 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