diff options
author | Roland McGrath <roland@gnu.org> | 2005-02-16 12:31:10 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-02-16 12:31:10 +0000 |
commit | 833861be818bb5d45ab0c47370b84068dfb2fedf (patch) | |
tree | 2f1754a415c378f6b067f9158cc42df24d4641d2 /linuxthreads_db | |
parent | c397a0064061e28a00eea873669e59f3983db791 (diff) |
import later fedora-branch tweaks
Diffstat (limited to 'linuxthreads_db')
-rw-r--r-- | linuxthreads_db/ChangeLog | 4 | ||||
-rw-r--r-- | linuxthreads_db/td_thr_tlsbase.c | 6 |
2 files changed, 3 insertions, 7 deletions
diff --git a/linuxthreads_db/ChangeLog b/linuxthreads_db/ChangeLog index 4bda6fb47a..338bf8207f 100644 --- a/linuxthreads_db/ChangeLog +++ b/linuxthreads_db/ChangeLog @@ -1,7 +1,3 @@ -2005-01-09 Andreas Jaeger <aj@suse.de> - - * td_thr_tlsbase.c (td_thr_tlsbase): Adjust for dtv change. - 2004-05-01 Jakub Jelinek <jakub@redhat.com> * thread_dbP.h (LOG): Use write instead of __libc_write. diff --git a/linuxthreads_db/td_thr_tlsbase.c b/linuxthreads_db/td_thr_tlsbase.c index 5a7e31b9e1..081e8d0e70 100644 --- a/linuxthreads_db/td_thr_tlsbase.c +++ b/linuxthreads_db/td_thr_tlsbase.c @@ -1,5 +1,5 @@ /* Locate TLS data for a thread. - Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. + Copyright (C) 2003, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -59,10 +59,10 @@ td_thr_tlsbase (const td_thrhandle_t *th, /* It could be that the memory for this module is not allocated for the given thread. */ - if (pdtv.pointer.val == TLS_DTV_UNALLOCATED) + if (pdtv.pointer == TLS_DTV_UNALLOCATED) return TD_TLSDEFER; - *base = (char *) pdtv.pointer.val; + *base = (char *) pdtv.pointer; return TD_OK; #else |