aboutsummaryrefslogtreecommitdiff
path: root/nptl/descr.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-19 07:09:42 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-19 07:09:42 +0000
commitdf45b31e8150087fad9ff5889fe1a95054e26730 (patch)
tree5c3489fd9de8f22f9386144daea297828d00bd7a /nptl/descr.h
parent5e2891795021a78fb975c55377d05919f4dae0c0 (diff)
downloadglibc-df45b31e8150087fad9ff5889fe1a95054e26730.zip
glibc-df45b31e8150087fad9ff5889fe1a95054e26730.tar.gz
glibc-df45b31e8150087fad9ff5889fe1a95054e26730.tar.bz2
Update.
2002-12-18 Ulrich Drepper <drepper@redhat.com> * descr.h (struct pthread) [NEED_DL_SYSINFO]: Add sysinfo member. * sysdeps/i386/tls.h (tcbhead_t): Add sysinfo member. Define SYSINFO_OFFSEET if NEED_DL_SYSINFO is defined. (INIT_SYSINFO): New #define. (TLS_TP_INIT): Use INIT_SYSINFO. * sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init): At test to make sure SYSINFO_OFFSET value is correct. * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: New file.
Diffstat (limited to 'nptl/descr.h')
-rw-r--r--nptl/descr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/nptl/descr.h b/nptl/descr.h
index 3dd6e12..734d339 100644
--- a/nptl/descr.h
+++ b/nptl/descr.h
@@ -68,6 +68,9 @@ struct pthread
struct pthread *self; /* Pointer to this structure */
list_t list;
int multiple_threads;
+#ifdef NEED_DL_SYSINFO
+ uintptr_t sysinfo;
+#endif
} data;
void *__padding[16];
} header;