Use a weak symbol for signalcontext().
This commit is contained in:
parent
1d6e1c66b2
commit
7630ea31ed
@ -36,10 +36,12 @@ __FBSDID("$FreeBSD");
|
||||
#include <machine/psl.h>
|
||||
#include <machine/sigframe.h>
|
||||
|
||||
__weak_reference(__signalcontext, signalcontext);
|
||||
|
||||
extern void _ctx_start(ucontext_t *, int argc, ...);
|
||||
|
||||
int
|
||||
signalcontext(ucontext_t *ucp, int sig, __sighandler_t *func)
|
||||
__signalcontext(ucontext_t *ucp, int sig, __sighandler_t *func)
|
||||
{
|
||||
struct sigframe *sfp;
|
||||
int *p;
|
||||
|
Loading…
x
Reference in New Issue
Block a user