summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@gnu.org>2002-10-11 23:57:47 +0000
committerNeal H. Walfield <neal@gnu.org>2002-10-11 23:57:47 +0000
commitb1c60ca6e55ead2fda78550689f588d81bb6c23b (patch)
tree902fe89253554f863d097bdd2f818f02c8fdbbc0
parent51c55d85632d43aa362b625ae519d00d559f9e5c (diff)
Finish import.
-rw-r--r--libpthread.a20
-rw-r--r--libpthread_pic.a20
2 files changed, 40 insertions, 0 deletions
diff --git a/libpthread.a b/libpthread.a
new file mode 100644
index 0000000..d0e689e
--- /dev/null
+++ b/libpthread.a
@@ -0,0 +1,20 @@
+/* pthread initializer is weak in glibc. It must be included if glibc
+ is to start threading. */
+EXTERN(_cthread_init_routine)
+
+/* Weak references in glibc that must be filled if glibc is to be
+ thread safe. */
+EXTERN(cthread_detach)
+EXTERN(cthread_fork)
+EXTERN(cthread_keycreate)
+EXTERN(cthread_getspecific)
+EXTERN(__libc_getspecific)
+EXTERN(cthread_setspecific)
+EXTERN(__mutex_lock_solid)
+EXTERN(__mutex_unlock_solid)
+/* For libio stream locking. */
+EXTERN(_cthreads_flockfile)
+EXTERN(_cthreads_funlockfile)
+EXTERN(_cthreads_ftrylockfile)
+
+GROUP(-lpthread2 -lihash)
diff --git a/libpthread_pic.a b/libpthread_pic.a
new file mode 100644
index 0000000..5673b4e
--- /dev/null
+++ b/libpthread_pic.a
@@ -0,0 +1,20 @@
+/* pthread initializer is weak in glibc. It must be included if glibc
+ is to start threading. */
+EXTERN(_cthread_init_routine)
+
+/* Weak references in glibc that must be filled if glibc is to be
+ thread safe. */
+EXTERN(cthread_detach)
+EXTERN(cthread_fork)
+EXTERN(cthread_keycreate)
+EXTERN(cthread_getspecific)
+EXTERN(__libc_getspecific)
+EXTERN(cthread_setspecific)
+EXTERN(__mutex_lock_solid)
+EXTERN(__mutex_unlock_solid)
+/* For libio stream locking. */
+EXTERN(_cthreads_flockfile)
+EXTERN(_cthreads_funlockfile)
+EXTERN(_cthreads_ftrylockfile)
+
+GROUP(-lpthread2_pic -lihash_pic)