(PID, TID, MULTIPLE_THREADS_OFFSET): Use TLS_PRE_TCB_SIZE instead of
authordrepper <drepper>
Thu, 7 Jul 2005 06:08:49 +0000 (06:08 +0000)
committerdrepper <drepper>
Thu, 7 Jul 2005 06:08:49 +0000 (06:08 +0000)
sizeof (struct pthread).

nptl/sysdeps/ia64/tcb-offsets.sym

index f5108e0..3bc3670 100644 (file)
@@ -1,7 +1,7 @@
 #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)
+PID                    offsetof (struct pthread, pid) - TLS_PRE_TCB_SIZE
+TID                    offsetof (struct pthread, tid) - TLS_PRE_TCB_SIZE
+MULTIPLE_THREADS_OFFSET offsetof (struct pthread, header.multiple_threads) - TLS_PRE_TCB_SIZE
 SYSINFO_OFFSET         offsetof (tcbhead_t, private)