(MULTIPLE_THREADS_OFFSET): Define to offsetof (tcbhead_t, multiple_threads) if
authordrepper <drepper>
Thu, 16 Jan 2003 18:21:40 +0000 (18:21 +0000)
committerdrepper <drepper>
Thu, 16 Jan 2003 18:21:40 +0000 (18:21 +0000)
USE_TLS not defined.

linuxthreads/sysdeps/ia64/tcb-offsets.sym

index a1d199f..2b677f5 100644 (file)
@@ -1,4 +1,9 @@
 #include <sysdep.h>
 #include <tls.h>
 
+--
+#ifdef USE_TLS
 MULTIPLE_THREADS_OFFSET offsetof (struct _pthread_descr_struct, p_header.data.multiple_threads) - sizeof (struct _pthread_descr_struct)
+#else
+MULTIPLE_THREADS_OFFSET offsetof (tcbhead_t, multiple_threads)
+#endif