Thread descriptor offsets needed in asm code.
authordrepper <drepper>
Sat, 8 Feb 2003 02:35:49 +0000 (02:35 +0000)
committerdrepper <drepper>
Sat, 8 Feb 2003 02:35:49 +0000 (02:35 +0000)
linuxthreads/sysdeps/sh/tcb-offsets.sym [new file with mode: 0644]

diff --git a/linuxthreads/sysdeps/sh/tcb-offsets.sym b/linuxthreads/sysdeps/sh/tcb-offsets.sym
new file mode 100644 (file)
index 0000000..d74292b
--- /dev/null
@@ -0,0 +1,10 @@
+#include <sysdep.h>
+#include <tls.h>
+
+--
+#ifdef USE_TLS
+MULTIPLE_THREADS_OFFSET offsetof (struct _pthread_descr_struct, p_header.data.multiple_threads)
+TLS_PRE_TCB_SIZE       sizeof (struct _pthread_descr_struct)
+#else
+MULTIPLE_THREADS_OFFSET offsetof (tcbhead_t, multiple_threads)
+#endif