mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
2 changed files with 6 additions and 0 deletions
|
|
@ -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 a new issue