Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/arch/i386/i386/locore.S,v retrieving revision 1.18 retrieving revision 1.19 diff -u -p -r1.18 -r1.19 --- src/sys/arch/i386/i386/locore.S 2003/09/12 12:39:59 1.18 +++ src/sys/arch/i386/i386/locore.S 2003/09/12 16:51:04 1.19 @@ -1,4 +1,4 @@ -/* $NetBSD: locore.S,v 1.18 2003/09/12 12:39:59 christos Exp $ */ +/* $NetBSD: locore.S,v 1.19 2003/09/12 16:51:04 christos Exp $ */ /*- * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc. @@ -719,7 +719,13 @@ NENTRY(sigcode) leal 12(%esp),%eax # get pointer to sigcontext movl %eax,4(%esp) # put it in the argument slot # fake return address already there +#if defined(SYS_compat_16___sigreturn14) movl $SYS_compat_16___sigreturn14,%eax +#elif defined(SYS___sigreturn14) + movl $SYS___sigreturn14,%eax +#else + #error "no sigreturn14 syscall" +#endif int $0x80 # enter kernel with args on stack movl $SYS_exit,%eax int $0x80 # exit if sigreturn fails