aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps/sh/tcb-offsets.sym
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps/sh/tcb-offsets.sym')
-rw-r--r--nptl/sysdeps/sh/tcb-offsets.sym2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/sh/tcb-offsets.sym b/nptl/sysdeps/sh/tcb-offsets.sym
index 3386f1d..940c933 100644
--- a/nptl/sysdeps/sh/tcb-offsets.sym
+++ b/nptl/sysdeps/sh/tcb-offsets.sym
@@ -1,5 +1,5 @@
#include <sysdep.h>
#include <tls.h>
-MULTIPLE_THREADS_OFFSET offsetof (struct pthread, header.multiple_threads)
+MULTIPLE_THREADS_OFFSET ((char *) &p_multiple_threads ((struct pthread *)0) - (char *) 0)
TLS_PRE_TCB_SIZE sizeof (struct pthread)