Before calling a signal handler, set $t9 to the user-level signal
handler address. May be needed by sysv ABI for shared libs.
This commit is contained in:
parent
8da30c1475
commit
26626be148
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: machdep.c,v 1.53 1996/06/15 08:57:52 jonathan Exp $ */
|
||||
/* $NetBSD: machdep.c,v 1.54 1996/06/17 06:36:34 jonathan Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
|
@ -998,6 +998,7 @@ sendsig(catcher, sig, mask, code)
|
|||
regs[A3] = (int)catcher;
|
||||
|
||||
regs[PC] = (int)catcher;
|
||||
regs[T9] = (int)catcher;
|
||||
regs[SP] = (int)fp;
|
||||
/*
|
||||
* Signal trampoline code is at base of user stack.
|
||||
|
|
Loading…
Reference in New Issue