Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/powerpc Eliminate two unused sigframe members.
details: https://anonhg.NetBSD.org/src/rev/5a1ef756a575
branches: trunk
changeset: 533592:5a1ef756a575
user: thorpej <thorpej%NetBSD.org@localhost>
date: Thu Jul 04 20:22:50 2002 +0000
description:
Eliminate two unused sigframe members.
diffstat:
sys/arch/powerpc/powerpc/sig_machdep.c | 6 +-----
sys/arch/powerpc/powerpc/sigcode.S | 4 ++--
2 files changed, 3 insertions(+), 7 deletions(-)
diffs (38 lines):
diff -r 7f14469951bf -r 5a1ef756a575 sys/arch/powerpc/powerpc/sig_machdep.c
--- a/sys/arch/powerpc/powerpc/sig_machdep.c Thu Jul 04 19:20:01 2002 +0000
+++ b/sys/arch/powerpc/powerpc/sig_machdep.c Thu Jul 04 20:22:50 2002 +0000
@@ -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 @@
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;
diff -r 7f14469951bf -r 5a1ef756a575 sys/arch/powerpc/powerpc/sigcode.S
--- a/sys/arch/powerpc/powerpc/sigcode.S Thu Jul 04 19:20:01 2002 +0000
+++ b/sys/arch/powerpc/powerpc/sigcode.S Thu Jul 04 20:22:50 2002 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index