Module Name:    src
Committed By:   christos
Date:           Sat Jan 25 05:15:44 UTC 2014

Modified Files:
        src/sys/compat/netbsd32: netbsd32_exec_aout.c

Log Message:
a.out binaries can't handle topdown.
Now 1.0 binaries work correctly on NetBSD-current.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/compat/netbsd32/netbsd32_exec_aout.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/netbsd32/netbsd32_exec_aout.c
diff -u src/sys/compat/netbsd32/netbsd32_exec_aout.c:1.25 src/sys/compat/netbsd32/netbsd32_exec_aout.c:1.26
--- src/sys/compat/netbsd32/netbsd32_exec_aout.c:1.25	Fri Apr 23 11:19:20 2010
+++ src/sys/compat/netbsd32/netbsd32_exec_aout.c	Sat Jan 25 00:15:43 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: netbsd32_exec_aout.c,v 1.25 2010/04/23 15:19:20 rmind Exp $	*/
+/*	$NetBSD: netbsd32_exec_aout.c,v 1.26 2014/01/25 05:15:43 christos Exp $	*/
 /*	from: NetBSD: exec_aout.c,v 1.15 1996/09/26 23:34:46 cgd Exp */
 
 /*
@@ -57,7 +57,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_exec_aout.c,v 1.25 2010/04/23 15:19:20 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_exec_aout.c,v 1.26 2014/01/25 05:15:43 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -113,6 +113,7 @@ exec_netbsd32_makecmds(struct lwp *l, st
 
 	/* this is already needed by setup_stack() */
 	epp->ep_flags |= EXEC_32;
+	epp->ep_flags &= ~EXEC_TOPDOWN_VM;
 
 	switch (midmag) {
 	case (NETBSD32_MID_MACHINE << 16) | ZMAGIC:

Reply via email to