Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips only define the cpu_exec_ecoff_*() stuff ...



details:   https://anonhg.NetBSD.org/src/rev/7643f2ae71ec
branches:  trunk
changeset: 515148:7643f2ae71ec
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Mon Sep 17 17:43:06 2001 +0000

description:
only define the cpu_exec_ecoff_*() stuff #ifdef EXEC_ECOFF

diffstat:

 sys/arch/mips/mips/cpu_exec.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r d9d37ba09d5c -r 7643f2ae71ec sys/arch/mips/mips/cpu_exec.c
--- a/sys/arch/mips/mips/cpu_exec.c     Mon Sep 17 17:40:40 2001 +0000
+++ b/sys/arch/mips/mips/cpu_exec.c     Mon Sep 17 17:43:06 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu_exec.c,v 1.27 2001/07/07 14:20:59 simonb Exp $     */
+/*     $NetBSD: cpu_exec.c,v 1.28 2001/09/17 17:43:06 jdolecek Exp $   */
 
 /*
  * Copyright (c) 1992, 1993
@@ -40,6 +40,7 @@
 
 #include "opt_compat_netbsd.h"
 #include "opt_compat_ultrix.h"
+#include "opt_execfmt.h"
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -133,6 +134,7 @@
 #endif
 }
 
+#ifdef EXEC_ECOFF
 void
 cpu_exec_ecoff_setregs(p, epp, stack)
        struct proc *p;
@@ -161,6 +163,7 @@
        /* NetBSD/mips does not have native ECOFF binaries. */
        return ENOEXEC;
 }
+#endif /* EXEC_ECOFF */
 
 /*
  * mips_elf_makecmds (p, epp)



Home | Main Index | Thread Index | Old Index