about summary refs log tree commit diff
path: root/linuxthreads/sysdeps/pthread/nptl-struct-pthread.sym
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps/pthread/nptl-struct-pthread.sym')
-rw-r--r--linuxthreads/sysdeps/pthread/nptl-struct-pthread.sym13
1 files changed, 13 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/pthread/nptl-struct-pthread.sym b/linuxthreads/sysdeps/pthread/nptl-struct-pthread.sym
new file mode 100644
index 0000000000..8df995270e
--- /dev/null
+++ b/linuxthreads/sysdeps/pthread/nptl-struct-pthread.sym
@@ -0,0 +1,13 @@
+#ifdef HAVE_TLS_SUPPORT
+# ifndef HAVE_FORCED_UNWIND
+#  define HAVE_FORCED_UNWIND 1
+# endif
+# define __need_struct_pthread_size
+# include <nptl/descr.h>
+#endif
+
+--
+
+#ifdef HAVE_TLS_SUPPORT
+NPTL_STRUCT_PTHREAD_SIZE	sizeof (struct pthread)
+#endif