Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sh3/sh3 Old sigcode (to be copied out to the bottom...



details:   https://anonhg.NetBSD.org/src/rev/31348bc28f0c
branches:  trunk
changeset: 555648:31348bc28f0c
user:      uwe <uwe%NetBSD.org@localhost>
date:      Mon Nov 24 04:59:24 2003 +0000

description:
Old sigcode (to be copied out to the bottom of the user stack) is only
necessary for COMPAT_16.

diffstat:

 sys/arch/sh3/sh3/locore_subr.S |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (42 lines):

diff -r 287ad17f3d53 -r 31348bc28f0c sys/arch/sh3/sh3/locore_subr.S
--- a/sys/arch/sh3/sh3/locore_subr.S    Mon Nov 24 04:47:42 2003 +0000
+++ b/sys/arch/sh3/sh3/locore_subr.S    Mon Nov 24 04:59:24 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore_subr.S,v 1.16 2003/11/24 04:47:42 uwe Exp $     */
+/*     $NetBSD: locore_subr.S,v 1.17 2003/11/24 04:59:24 uwe Exp $     */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -33,6 +33,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include "opt_compat_netbsd.h"
 #include "opt_cputype.h"
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -45,7 +46,7 @@
 #include <sh3/mmu_sh3.h>
 #include <sh3/mmu_sh4.h>
 
-__KERNEL_RCSID(0, "$NetBSD: locore_subr.S,v 1.16 2003/11/24 04:47:42 uwe Exp $")
+__KERNEL_RCSID(0, "$NetBSD: locore_subr.S,v 1.17 2003/11/24 04:59:24 uwe Exp $")
 
 
        .text
@@ -399,6 +400,7 @@
        __EXCEPTION_RETURN
        /* NOTREACHED */
 
+#ifdef COMPAT_16
 /*
  * sigcode:
  *     Signal trampoline. copied to top of user stack.
@@ -422,6 +424,7 @@
 _L.SYS_exit:           .long   SYS_exit
        .globl  _C_LABEL(esigcode)
 _C_LABEL(esigcode):
+#endif /* COMPAT_16 */
 
 /*
  * void savectx(struct pcb *pcb):



Home | Main Index | Thread Index | Old Index