Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/aout Make this compile and link properly.



details:   https://anonhg.NetBSD.org/src/rev/ba5daca6dc44
branches:  trunk
changeset: 552314:ba5daca6dc44
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Sep 23 14:33:24 2003 +0000

description:
Make this compile and link properly.

diffstat:

 sys/compat/aout/syscalls.conf   |   3 +--
 sys/compat/aout/syscalls.master |  15 ++++++++++++---
 2 files changed, 13 insertions(+), 5 deletions(-)

diffs (52 lines):

diff -r c82a666be7f6 -r ba5daca6dc44 sys/compat/aout/syscalls.conf
--- a/sys/compat/aout/syscalls.conf     Tue Sep 23 14:23:53 2003 +0000
+++ b/sys/compat/aout/syscalls.conf     Tue Sep 23 14:33:24 2003 +0000
@@ -1,10 +1,9 @@
-#      $NetBSD: syscalls.conf,v 1.3 2003/09/12 12:46:47 christos Exp $
+#      $NetBSD: syscalls.conf,v 1.4 2003/09/23 14:33:24 christos Exp $
 
 sysnames="aout_syscalls.c"
 sysnumhdr="aout_syscall.h"
 syssw="aout_sysent.c"
 sysarghdr="aout_syscallargs.h"
-compatopts="COMPAT_16"
 libcompatopts=""
 
 switchname="aout_sysent"
diff -r c82a666be7f6 -r ba5daca6dc44 sys/compat/aout/syscalls.master
--- a/sys/compat/aout/syscalls.master   Tue Sep 23 14:23:53 2003 +0000
+++ b/sys/compat/aout/syscalls.master   Tue Sep 23 14:33:24 2003 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.18 2003/09/12 12:46:47 christos Exp $
+       $NetBSD: syscalls.master,v 1.19 2003/09/23 14:33:24 christos Exp $
 
 ;      @(#)syscalls.master     8.2 (Berkeley) 1/13/94
 
@@ -587,16 +587,25 @@
 290    NOARGS          { ssize_t sys_pwritev(int fd, \
                            const struct iovec *iovp, int iovcnt, \
                            int pad, off_t offset); }
-291    NOARGS          { int sys___sigaction14(int signum, \
+#ifdef COMPAT_16
+291    NOARGS          { int compat_16_sys___sigaction14(int signum, \
                            const struct sigaction *nsa, \
                            struct sigaction *osa); }
+#else
+291    EXCL            compat_16_sys___sigaction14
+#endif
 292    NOARGS          { int sys___sigpending14(sigset_t *set); }
 293    NOARGS          { int sys___sigprocmask14(int how, \
                            const sigset_t *set, \
                            sigset_t *oset); }
 294    NOARGS          { int sys___sigsuspend14(const sigset_t *set); }
 #if defined(__HAVE_SIGINFO)
-295    COMPAT_16       { int sys___sigreturn14(struct sigcontext *sigcntxp); }
+#ifdef COMPAT_16
+295    NOARGS          { int compat_16_sys___sigreturn14( \
+                           struct sigcontext *sigcntxp); }
+#else
+295    EXCL            compat_16_sys___sigreturn14
+#endif
 #else
 295    NOARGS          { int sys___sigreturn14(struct sigcontext *sigcntxp); }
 #endif



Home | Main Index | Thread Index | Old Index