Eliminate two unused sigframe members.
This commit is contained in:
parent
bf7d5bca07
commit
625abcf84b
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sig_machdep.c,v 1.5 2001/05/28 00:12:21 matt Exp $ */
|
||||
/* $NetBSD: sig_machdep.c,v 1.6 2002/07/04 20:22:50 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
|
||||
|
@ -70,10 +70,6 @@ sendsig(catcher, sig, mask, code)
|
|||
fp = (struct sigframe *)tf->fixreg[1];
|
||||
fp = (struct sigframe *)((int)(fp - 1) & ~0xf);
|
||||
|
||||
/* Build stack frame for signal trampoline. */
|
||||
frame.sf_signum = sig;
|
||||
frame.sf_code = code;
|
||||
|
||||
/* Save register context. */
|
||||
frame.sf_sc.sc_frame = *tf;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sigcode.S,v 1.1 1999/11/17 14:56:11 kleink Exp $ */
|
||||
/* $NetBSD: sigcode.S,v 1.2 2002/07/04 20:22:50 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
|
||||
|
@ -45,7 +45,7 @@
|
|||
_C_LABEL(sigcode):
|
||||
addi 1,1,-16 /* reserved space for callee */
|
||||
blrl
|
||||
addi 3,1,16+8 /* compute &sf_sc */
|
||||
addi 3,1,16 /* compute &sf_sc */
|
||||
li 0,SYS___sigreturn14
|
||||
sc /* sigreturn(scp) */
|
||||
li 0,SYS_exit
|
||||
|
|
Loading…
Reference in New Issue