mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
bc9cf8fbe8
libpthread_syms.a will contain the symbols that libc tries to get from libpthread, to be used by the system, but also by tests. * htl/libpthread.a, htl/libpthread_pic.a: Link libpthread_syms.a and Move EXTERN references to... * htl/libpthread_syms.a: ... new file. Add missing __pthread_enable_asynccancel reference. * htl/Makefile: Install libpthread_syms.a and link it into static tests.
22 lines
663 B
Plaintext
22 lines
663 B
Plaintext
/* 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(cthread_setspecific)
|
|
EXTERN(__mutex_lock_solid)
|
|
EXTERN(__mutex_unlock_solid)
|
|
/* For libio stream locking. */
|
|
EXTERN(_cthreads_flockfile)
|
|
EXTERN(_cthreads_funlockfile)
|
|
EXTERN(_cthreads_ftrylockfile)
|
|
/* To get the sigthread stack layout on fork */
|
|
EXTERN(pthread_getattr_np)
|
|
EXTERN(pthread_attr_getstack)
|
|
EXTERN(__pthread_enable_asynccancel)
|