Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/pecoff We don't have sigcode if we are not in COM...
details: https://anonhg.NetBSD.org/src/rev/db856263c043
branches: trunk
changeset: 582051:db856263c043
user: christos <christos%NetBSD.org@localhost>
date: Tue Jun 14 22:35:20 2005 +0000
description:
We don't have sigcode if we are not in COMPAT_16.
diffstat:
sys/compat/pecoff/pecoff_emul.c | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diffs (52 lines):
diff -r 8f3190f3fe2e -r db856263c043 sys/compat/pecoff/pecoff_emul.c
--- a/sys/compat/pecoff/pecoff_emul.c Tue Jun 14 21:55:21 2005 +0000
+++ b/sys/compat/pecoff/pecoff_emul.c Tue Jun 14 22:35:20 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pecoff_emul.c,v 1.11 2005/03/26 05:12:35 fvdl Exp $ */
+/* $NetBSD: pecoff_emul.c,v 1.12 2005/06/14 22:35:20 christos Exp $ */
/*
* Copyright (c) 2000 Masaru OKI
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pecoff_emul.c,v 1.11 2005/03/26 05:12:35 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pecoff_emul.c,v 1.12 2005/06/14 22:35:20 christos Exp $");
/*#define DEBUG_PECOFF*/
@@ -70,14 +70,16 @@
#ifdef SYSCALL_DEBUG
extern const char * const pecoff_syscallnames[];
#endif
-extern char sigcode[], esigcode[];
#ifdef __HAVE_SYSCALL_INTERN
void syscall_intern(struct proc *);
#else
void syscall(void);
#endif
+#ifdef COMPAT_16
+extern char sigcode[], esigcode[];
struct uvm_object *emul_pecoff_object;
+#endif
const struct emul emul_pecoff = {
"pecoff",
@@ -97,9 +99,15 @@
sendsig,
trapsignal,
NULL,
+#ifdef COMPAT_16
sigcode,
esigcode,
&emul_pecoff_object,
+#else
+ NULL,
+ NULL,
+ NULL,
+#endif
setregs,
NULL,
NULL,
Home |
Main Index |
Thread Index |
Old Index