From 557fab43bd3cf75f87ba7efb65c9f4884e261a6c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 23 Feb 2002 08:47:54 +0000 Subject: Update. 2002-02-23 Ulrich Drepper * 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. --- linuxthreads/descr.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'linuxthreads/descr.h') 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; @@ -157,6 +159,9 @@ struct _pthread_descr_struct { int p_inheritsched; /* copied from the thread attribute */ #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 -- cgit v1.2.3