glibc/nptl/sysdeps/ia64/tcb-offsets.sym
Ulrich Drepper 484cc8018b Update.
2004-12-07  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Add support for
	NPTL where the PID is stored at userlevel and needs to be reset when
	CLONE_THREAD is not used.  Restore gp before calling _exit.
2004-12-07 20:34:18 +00:00

8 lines
311 B
Plaintext

#include <sysdep.h>
#include <tls.h>
PID offsetof (struct pthread, pid) - sizeof (struct pthread)
TID offsetof (struct pthread, tid) - sizeof (struct pthread)
MULTIPLE_THREADS_OFFSET offsetof (struct pthread, header.multiple_threads) - sizeof (struct pthread)
SYSINFO_OFFSET offsetof (tcbhead_t, private)