aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/lib/pthreadconst.S
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/lib/pthreadconst.S')
-rw-r--r--winsup/cygwin/lib/pthreadconst.S17
1 files changed, 17 insertions, 0 deletions
diff --git a/winsup/cygwin/lib/pthreadconst.S b/winsup/cygwin/lib/pthreadconst.S
new file mode 100644
index 0000000..6e55a83
--- /dev/null
+++ b/winsup/cygwin/lib/pthreadconst.S
@@ -0,0 +1,17 @@
+#if defined(__i386__)
+# define SYM(x) _##x
+#else
+# define SYM(x) x
+#endif
+
+/* these should all be too low to ever be valid addresses */
+.globl SYM(__pthread_recursive_mutex_initializer_np)
+.set __pthread_recursive_mutex_initializer_np, 18
+.globl SYM(__pthread_normal_mutex_initializer_np)
+.set __pthread_normal_mutex_initializer_np, 19
+.globl SYM(__pthread_errorcheck_mutex_initializer_np)
+.set __pthread_errorcheck_mutex_initializer_np, 20
+.globl SYM(__pthread_cond_initializer)
+.set __pthread_cond_initializer, 21
+.globl SYM(__pthread_rwlock_initializer)
+.set __pthread_rwlock_initializer, 22