aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2008-03-21 02:31:55 +0000
committerDavid Xu <davidxu@FreeBSD.org>2008-03-21 02:31:55 +0000
commit04a57d2c838813acef28df70c18cfb63f452653a (patch)
tree832c123d62df23c93a1a523d916c6b722a10b886 /lib
parent1b7db0de0842070dff82d56b8f46586bf8e4b08a (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libthr/thread/thr_rtld.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libthr/thread/thr_rtld.c b/lib/libthr/thread/thr_rtld.c
index 411e995795d3..8c6eddb32c1d 100644
--- a/lib/libthr/thread/thr_rtld.c
+++ b/lib/libthr/thread/thr_rtld.c
@@ -220,6 +220,9 @@ _thr_rtld_init(void)
/* force to resolve _umtx_op PLT */
_umtx_op((struct umtx *)&dummy, UMTX_OP_WAKE, 1, 0, 0);
+
+ /* force to resolve errno() PLT */
+ __error();
li.lock_create = _thr_rtld_lock_create;
li.lock_destroy = _thr_rtld_lock_destroy;