diff options
author | kan <kan@FreeBSD.org> | 2003-05-30 00:21:52 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2003-05-30 00:21:52 +0000 |
commit | a22cad65ccb9cfd81c057db83cc2c7c2cb5ae79d (patch) | |
tree | 94d7f73e2932ac623f1590991875a38731aca104 /lib/libpthread/thread/thr_init.c | |
parent | 51dd2dd2b3fe2cc5a81d2a41ffc4166698a4b22f (diff) | |
download | FreeBSD-src-a22cad65ccb9cfd81c057db83cc2c7c2cb5ae79d.zip FreeBSD-src-a22cad65ccb9cfd81c057db83cc2c7c2cb5ae79d.tar.gz |
Attempt to eliminate PLT relocations from rwlock aquire/release
path, making them suitable for direct use by the dynamic loader.
Register libpthread-specific locking API with rtld on startup.
This still has some rough edges with signals which should be
addresses later.
Approved by: re (scottl)
Diffstat (limited to 'lib/libpthread/thread/thr_init.c')
-rw-r--r-- | lib/libpthread/thread/thr_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libpthread/thread/thr_init.c b/lib/libpthread/thread/thr_init.c index 433f246..ceee041 100644 --- a/lib/libpthread/thread/thr_init.c +++ b/lib/libpthread/thread/thr_init.c @@ -304,6 +304,8 @@ _libpthread_init(struct pthread *curthread) _thr_initial->kse->k_curthread = _thr_initial; _thr_initial->kse->k_flags |= KF_INITIALIZED; _kse_initial->k_curthread = _thr_initial; + + _thr_rtld_init(); } /* |