From a22cad65ccb9cfd81c057db83cc2c7c2cb5ae79d Mon Sep 17 00:00:00 2001 From: kan Date: Fri, 30 May 2003 00:21:52 +0000 Subject: 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) --- lib/libkse/thread/thr_init.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libkse/thread/thr_init.c') diff --git a/lib/libkse/thread/thr_init.c b/lib/libkse/thread/thr_init.c index 433f246..ceee041 100644 --- a/lib/libkse/thread/thr_init.c +++ b/lib/libkse/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(); } /* -- cgit v1.1