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:
parent
7021331528
commit
4d6f145a3b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=116059
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user