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
This commit is contained in:
Daniel Eischen 2003-06-08 17:29:32 +00:00
parent 7021331528
commit 4d6f145a3b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=116059
2 changed files with 6 additions and 0 deletions

View File

@ -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);

View File

@ -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);