diff options
Diffstat (limited to 'linuxthreads/sysdeps/ia64/tcb-offsets.sym')
-rw-r--r-- | linuxthreads/sysdeps/ia64/tcb-offsets.sym | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/ia64/tcb-offsets.sym b/linuxthreads/sysdeps/ia64/tcb-offsets.sym index a1d199f44e..2b677f5abb 100644 --- a/linuxthreads/sysdeps/ia64/tcb-offsets.sym +++ b/linuxthreads/sysdeps/ia64/tcb-offsets.sym @@ -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 |