summaryrefslogtreecommitdiffstats
path: root/lib/libkse
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2003-06-08 17:29:32 +0000
committerdeischen <deischen@FreeBSD.org>2003-06-08 17:29:32 +0000
commit49fd6082dc00a29d428e37d6172c9c7e7ec381af (patch)
tree1e61584299fdbd44a0bf051f2febca0647529dee /lib/libkse
parenta3c466e4807b2b53765d772d20d6640ed8a4d490 (diff)
downloadFreeBSD-src-49fd6082dc00a29d428e37d6172c9c7e7ec381af.zip
FreeBSD-src-49fd6082dc00a29d428e37d6172c9c7e7ec381af.tar.gz
Provide a reference to __sys_write. The implementation uses this when
debugging is enabled so the symbol needs to be resolved before rtld locking is enabled. I may not really know what I'm talking about, but it works. Submitted by: kan
Diffstat (limited to 'lib/libkse')
-rw-r--r--lib/libkse/support/thr_support.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libkse/support/thr_support.c b/lib/libkse/support/thr_support.c
index 7ffa5d7..1b3c4ef 100644
--- a/lib/libkse/support/thr_support.c
+++ b/lib/libkse/support/thr_support.c
@@ -32,6 +32,8 @@
#include <signal.h>
#include <string.h>
+#include "thr_private.h"
+
__strong_reference(clock_gettime, _thr_clock_gettime);
__strong_reference(kse_exit, _thr_kse_exit);
__strong_reference(kse_wakeup, _thr_kse_wakeup);
@@ -53,3 +55,4 @@ __strong_reference(strcpy, _thr_strcpy);
__strong_reference(strlen, _thr_strlen);
__strong_reference(bzero, _thr_bzero);
+__strong_reference(__sys_write, _thr__sys_write);
OpenPOWER on IntegriCloud