diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-02-23 08:47:54 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-02-23 08:47:54 +0000 |
commit | 557fab43bd3cf75f87ba7efb65c9f4884e261a6c (patch) | |
tree | a45a8e10024f1cd566da25113e7dc2f45b8bd9e3 /linuxthreads/descr.h | |
parent | e413826144bcd0a910e8a6f942ec34a368f65613 (diff) | |
download | glibc-557fab43bd3cf75f87ba7efb65c9f4884e261a6c.tar.gz glibc-557fab43bd3cf75f87ba7efb65c9f4884e261a6c.tar.xz glibc-557fab43bd3cf75f87ba7efb65c9f4884e261a6c.zip |
Update.
2002-02-23 Ulrich Drepper <drepper@redhat.com> * csu/set-init.c: Moved to... * sysdeps/mach/hurd/set-init.c: ...here. New file. * csu/Makefile: Don't compile set-init. * sysdeps/mach/hurd/Makefile: Compile set-init for subdir csu. * sysdeps/mach/hurd/i386/init-first.c: Call __init_misc in addition to __libc_init. * sysdeps/mach/hurd/mips/init-first.c: Likewise. * sysdeps/mach/hurd/powerpc/init-first.c: Likewise. * sysdeps/unix/sysv/linux/init-first.c: Call __init_misc instead of __libc_init. * misc/init-misc.c: Always export __init_misc. Don't define hooks for __libc_subinit.
Diffstat (limited to 'linuxthreads/descr.h')
-rw-r--r-- | linuxthreads/descr.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/linuxthreads/descr.h b/linuxthreads/descr.h index a2cddb1212..d0c31da9b2 100644 --- a/linuxthreads/descr.h +++ b/linuxthreads/descr.h @@ -102,8 +102,10 @@ struct _pthread_descr_struct { /* XXX Remove this union for IA-64 style TLS module */ union { struct { - pthread_descr self; /* Pointer to this structure */ + void *tcb; /* Pointer to the TCB. This is not always + the address of this thread descriptor. */ union dtv *dtvp; + pthread_descr self; /* Pointer to this structure */ } data; void *__padding[16]; } p_header; @@ -158,6 +160,9 @@ struct _pthread_descr_struct { #if HP_TIMING_AVAIL hp_timing_t p_cpuclock_offset; /* Initial CPU clock for thread. */ #endif +#ifdef USE_TLS + char *p_stackaddr; /* Stack address. */ +#endif /* New elements must be added at the end. */ } __attribute__ ((aligned(32))); /* We need to align the structure so that doubles are aligned properly. This is 8 |