Source-Changes-HG archive

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

[src/trunk]: src Remove PECOFF/Win32 emulation.



details:   https://anonhg.NetBSD.org/src/rev/b215ff42aa8a
branches:  trunk
changeset: 764532:b215ff42aa8a
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Apr 26 16:57:38 2011 +0000

description:
Remove PECOFF/Win32 emulation.

diffstat:

 distrib/sets/lists/man/mi          |   24 +-
 share/man/man7/hier.7              |    7 +-
 share/man/man7/symlink.7           |    5 +-
 share/man/man8/Makefile            |    7 +-
 share/man/man8/compat_darwin.8     |  127 ---------
 share/man/man8/compat_pecoff.8     |  237 ------------------
 sys/arch/evbarm/conf/MPCSA_GENERIC |    5 +-
 sys/arch/i386/conf/ALL             |    6 +-
 sys/arch/i386/conf/GENERIC         |    5 +-
 sys/arch/i386/conf/NET4501         |    5 +-
 sys/arch/i386/conf/XEN3_DOM0       |    3 +-
 sys/arch/i386/conf/XEN3_DOMU       |    3 +-
 sys/arch/i386/conf/files.i386      |    5 +-
 sys/arch/xen/conf/files.xen        |    5 +-
 sys/compat/pecoff/files.pecoff     |    6 -
 sys/compat/pecoff/pecoff_emul.c    |  119 ---------
 sys/compat/pecoff/pecoff_exec.c    |  481 -------------------------------------
 sys/compat/pecoff/pecoff_exec.h    |  125 ---------
 sys/compat/pecoff/pecoff_mod.c     |   77 -----
 sys/compat/pecoff/pecoff_util.h    |   72 -----
 sys/conf/files                     |    3 +-
 usr.bin/kdump/setemul.c            |    8 +-
 22 files changed, 31 insertions(+), 1304 deletions(-)

diffs (truncated from 1678 to 300 lines):

diff -r 846a50b651f6 -r b215ff42aa8a distrib/sets/lists/man/mi
--- a/distrib/sets/lists/man/mi Tue Apr 26 16:36:40 2011 +0000
+++ b/distrib/sets/lists/man/mi Tue Apr 26 16:57:38 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1311 2011/04/21 20:59:38 joerg Exp $
+# $NetBSD: mi,v 1.1312 2011/04/26 16:57:38 joerg Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -2147,21 +2147,21 @@
 ./usr/share/man/cat8/cobalt/boot.0             man-sys-catman          .cat
 ./usr/share/man/cat8/cobalt/makedev.0          man-obsolete            obsolete
 ./usr/share/man/cat8/compat_30.0               man-sys-catman          .cat
-./usr/share/man/cat8/compat_darwin.0           man-sys-catman          .cat
+./usr/share/man/cat8/compat_darwin.0           man-obsolete            obsolete
 ./usr/share/man/cat8/compat_freebsd.0          man-sys-catman          .cat
 ./usr/share/man/cat8/compat_hpux.0             man-obsolete            obsolete
 ./usr/share/man/cat8/compat_ibcs2.0            man-sys-catman          .cat
 ./usr/share/man/cat8/compat_linux.0            man-sys-catman          .cat
 ./usr/share/man/cat8/compat_netbsd32.0         man-sys-catman          .cat
 ./usr/share/man/cat8/compat_osf1.0             man-sys-catman          .cat
-./usr/share/man/cat8/compat_pecoff.0           man-sys-catman          .cat
+./usr/share/man/cat8/compat_pecoff.0           man-obsolete            obsolete
 ./usr/share/man/cat8/compat_sco.0              man-sys-catman          .cat
 ./usr/share/man/cat8/compat_solaris.0          man-sys-catman          .cat
 ./usr/share/man/cat8/compat_sunos.0            man-sys-catman          .cat
 ./usr/share/man/cat8/compat_svr4.0             man-sys-catman          .cat
 ./usr/share/man/cat8/compat_svr4_32.0          man-sys-catman          .cat
 ./usr/share/man/cat8/compat_ultrix.0           man-sys-catman          .cat
-./usr/share/man/cat8/compat_win32.0            man-sys-catman          .cat
+./usr/share/man/cat8/compat_win32.0            man-obsolete            obsolete
 ./usr/share/man/cat8/compat_xenix.0            man-sys-catman          .cat
 ./usr/share/man/cat8/comsat.0                  man-man-catman          .cat
 ./usr/share/man/cat8/cpuctl.0                  man-sysutil-catman      .cat
@@ -2562,7 +2562,7 @@
 ./usr/share/man/cat8/pcictl.0                  man-sysutil-catman      .cat
 ./usr/share/man/cat8/pcnfsd.0                  man-nfsserver-catman    .cat
 ./usr/share/man/cat8/pdisk.0                   man-sysutil-catman      .cat
-./usr/share/man/cat8/peace.0                   man-sys-catman          .cat
+./usr/share/man/cat8/peace.0                   man-obsolete            obsolete
 ./usr/share/man/cat8/pfctl.0                   man-pf-catman           pf,.cat
 ./usr/share/man/cat8/pflogd.0                  man-pf-catman           pf,.cat
 ./usr/share/man/cat8/pfs.0                             man-pf-catman           pf,.cat
@@ -4789,20 +4789,20 @@
 ./usr/share/man/html8/cnwctl.html              man-sysutil-htmlman     html
 ./usr/share/man/html8/cobalt/boot.html         man-sys-htmlman         html
 ./usr/share/man/html8/compat_30.html           man-sys-htmlman         html
-./usr/share/man/html8/compat_darwin.html       man-sys-htmlman         html
+./usr/share/man/html8/compat_darwin.html       man-obsolete            obsolete
 ./usr/share/man/html8/compat_freebsd.html      man-sys-htmlman         html
 ./usr/share/man/html8/compat_ibcs2.html                man-sys-htmlman         html
 ./usr/share/man/html8/compat_linux.html                man-sys-htmlman         html
 ./usr/share/man/html8/compat_netbsd32.html     man-sys-htmlman         html
 ./usr/share/man/html8/compat_osf1.html         man-sys-htmlman         html
-./usr/share/man/html8/compat_pecoff.html       man-sys-htmlman         html
+./usr/share/man/html8/compat_pecoff.html       man-obsolete            obsolete
 ./usr/share/man/html8/compat_sco.html          man-sys-htmlman         html
 ./usr/share/man/html8/compat_solaris.html      man-sys-htmlman         html
 ./usr/share/man/html8/compat_sunos.html                man-sys-htmlman         html
 ./usr/share/man/html8/compat_svr4.html         man-sys-htmlman         html
 ./usr/share/man/html8/compat_svr4_32.html      man-sys-htmlman         html
 ./usr/share/man/html8/compat_ultrix.html       man-sys-htmlman         html
-./usr/share/man/html8/compat_win32.html                man-sys-htmlman         html
+./usr/share/man/html8/compat_win32.html                man-obsolete            obsolete
 ./usr/share/man/html8/compat_xenix.html                man-sys-htmlman         html
 ./usr/share/man/html8/comsat.html              man-man-htmlman         html
 ./usr/share/man/html8/cpuctl.html              man-sysutil-htmlman     html
@@ -5113,7 +5113,7 @@
 ./usr/share/man/html8/pcictl.html              man-sysutil-htmlman     html
 ./usr/share/man/html8/pcnfsd.html              man-nfsserver-htmlman   html
 ./usr/share/man/html8/pdisk.html               man-sysutil-htmlman     html
-./usr/share/man/html8/peace.html               man-sys-htmlman         html
+./usr/share/man/html8/peace.html               man-obsolete            obsolete
 ./usr/share/man/html8/pfctl.html               man-pf-htmlman          pf,html
 ./usr/share/man/html8/pflogd.html              man-pf-htmlman          pf,html
 ./usr/share/man/html8/pfs.html                 man-pf-htmlman          pf,html
@@ -7492,14 +7492,14 @@
 ./usr/share/man/man8/compat_linux.8            man-sys-man             .man
 ./usr/share/man/man8/compat_netbsd32.8         man-sys-man             .man
 ./usr/share/man/man8/compat_osf1.8             man-sys-man             .man
-./usr/share/man/man8/compat_pecoff.8           man-sys-man             .man
+./usr/share/man/man8/compat_pecoff.8           man-obsolete            obsolete
 ./usr/share/man/man8/compat_sco.8              man-sys-man             .man
 ./usr/share/man/man8/compat_solaris.8          man-sys-man             .man
 ./usr/share/man/man8/compat_sunos.8            man-sys-man             .man
 ./usr/share/man/man8/compat_svr4.8             man-sys-man             .man
 ./usr/share/man/man8/compat_svr4_32.8          man-sys-man             .man
 ./usr/share/man/man8/compat_ultrix.8           man-sys-man             .man
-./usr/share/man/man8/compat_win32.8            man-sys-man             .man
+./usr/share/man/man8/compat_win32.8            man-obsolete            obsolete
 ./usr/share/man/man8/compat_xenix.8            man-sys-man             .man
 ./usr/share/man/man8/comsat.8                  man-man-man             .man
 ./usr/share/man/man8/cpuctl.8                  man-sysutil-man         .man
@@ -7901,7 +7901,7 @@
 ./usr/share/man/man8/pcictl.8                  man-sysutil-man         .man
 ./usr/share/man/man8/pcnfsd.8                  man-nfsserver-man       .man
 ./usr/share/man/man8/pdisk.8                   man-sysutil-man         .man
-./usr/share/man/man8/peace.8                   man-sys-man             .man
+./usr/share/man/man8/peace.8                   man-obsolete            obsolete
 ./usr/share/man/man8/pfctl.8                   man-pf-man              pf,.man
 ./usr/share/man/man8/pflogd.8                  man-pf-man              pf,.man
 ./usr/share/man/man8/pfs.8                             man-pf-man              pf,.man
diff -r 846a50b651f6 -r b215ff42aa8a share/man/man7/hier.7
--- a/share/man/man7/hier.7     Tue Apr 26 16:36:40 2011 +0000
+++ b/share/man/man7/hier.7     Tue Apr 26 16:57:38 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: hier.7,v 1.98 2011/04/01 06:51:54 jruoho Exp $
+.\"    $NetBSD: hier.7,v 1.99 2011/04/26 16:57:39 joerg Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -897,11 +897,6 @@
 binaries
 .It Sy ossaudio/
 support for OSS audio
-.It Sy pecoff/
-support for
-.Tn Win32
-binaries; see
-.Xr compat_pecoff 8
 .It Sy sunos/
 support for
 .Tn SunOS 4.x
diff -r 846a50b651f6 -r b215ff42aa8a share/man/man7/symlink.7
--- a/share/man/man7/symlink.7  Tue Apr 26 16:36:40 2011 +0000
+++ b/share/man/man7/symlink.7  Tue Apr 26 16:57:38 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: symlink.7,v 1.19 2011/02/01 21:06:13 christos Exp $
+.\"    $NetBSD: symlink.7,v 1.20 2011/04/26 16:57:39 joerg Exp $
 .\"
 .\" Copyright (c) 1992, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -491,14 +491,11 @@
 .Dv darwin ,
 .Dv freebsd ,
 .Dv ibcs2 ,
-.Dv irix ,
 .Dv linux ,
 .Dv linux32 ,
 .Dv m68k4k ,
-.Dv mach ,
 .Dv netbsd32 ,
 .Dv osf1 ,
-.Dv pecoff ,
 .Dv sunos ,
 .Dv sunos32 ,
 .Dv svr4 ,
diff -r 846a50b651f6 -r b215ff42aa8a share/man/man8/Makefile
--- a/share/man/man8/Makefile   Tue Apr 26 16:36:40 2011 +0000
+++ b/share/man/man8/Makefile   Tue Apr 26 16:57:38 2011 +0000
@@ -1,10 +1,9 @@
-#      $NetBSD: Makefile,v 1.100 2011/03/18 15:21:57 jruoho Exp $
+#      $NetBSD: Makefile,v 1.101 2011/04/26 16:57:39 joerg Exp $
 #      from: @(#)Makefile      8.1 (Berkeley) 6/5/93
 
 MAN=   MAKEDEV.8 MAKEDEV.local.8 afterboot.8 boot.8 compat_30.8 \
-       compat_darwin.8 \
        compat_freebsd.8 compat_ibcs2.8 compat_linux.8 \
-       compat_netbsd32.8 compat_osf1.8 compat_pecoff.8 compat_sunos.8 \
+       compat_netbsd32.8 compat_osf1.8 compat_sunos.8 \
        compat_svr4.8 compat_ultrix.8 diskless.8 hpcboot.8 \
        intro.8 nis.8 pam.8 rc.8 rc.subr.8 rescue.8 \
        sysinst.8 veriexec.8 \
@@ -15,8 +14,6 @@
 MLINKS+=compat_svr4.8 compat_solaris.8
 MLINKS+=compat_svr4.8 compat_svr4_32.8
 MLINKS+=compat_svr4.8 compat_xenix.8
-MLINKS+=compat_pecoff.8 compat_win32.8
-MLINKS+=compat_pecoff.8 peace.8
 MLINKS+=compat_netbsd32.8 netbsd32.8
 MLINKS+=nis.8 yp.8
 MLINKS+=rc.8 rc.d.8
diff -r 846a50b651f6 -r b215ff42aa8a share/man/man8/compat_darwin.8
--- a/share/man/man8/compat_darwin.8    Tue Apr 26 16:36:40 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,127 +0,0 @@
-.\"    $NetBSD: compat_darwin.8,v 1.3 2003/11/12 13:04:18 grant Exp $
-.\"
-.\" Copyright (c) 2003 Emmanuel Dreyfus
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\" 3. All advertising materials mentioning features or use of this software
-.\"    must display the following acknowledgement:
-.\"      This product includes software developed for the NetBSD Project
-.\"      by Emmanuel Dreyfus.
-.\" 4. The name of the author may not be used to endorse or promote products
-.\"    derived from this software without specific prior written permission
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
-.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
-.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
-.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-.\"
-.Dd September 29, 2003
-.Dt COMPAT_DARWIN 8
-.Os
-.Sh NAME
-.Nm compat_darwin
-.Nd setup procedure for running Darwin binaries from MacOS X
-.Sh DESCRIPTION
-.Nx
-supports running Darwin binaries.
-This works on PowerPC ports, and i386 should be supported in the
-future.
-For now, most text based and X11 based program should work.
-Applications using the Quartz displaying system may work, but local
-display is not yet supported: running MacOS X's Quartz display
-server on
-.Nx
-is a work in progress.
-.Pp
-The Darwin compatibility feature is active for kernels compiled
-with the
-.Dv COMPAT_DARWIN ,
-.Dv COMPAT_MACH ,
-and
-.Dv EXEC_MACHO
-options enabled.
-.Pp
-All Darwin binaries are dynamically linked.
-As
-.Dv COMPAT_DARWIN
-only emulates the Darwin system calls, you will need various Darwin
-userland files, such as the shared libraries and the dynamic linker.
-Theses files are kept in a
-.Dq shadow root
-directory, named
-.Pa /emul/darwin .
-Each time a Darwin binary has to use a file, it will look it up in
-.Pa /emul/darwin
-first.
-This feature is used to prevent conflict between native and foreign
-libraries and configuration files.
-.Pp
-There are two ways of setting up the
-.Pa /emul/darwin
-tree.
-.Bl -enum
-.It
-The easiest way is to install the Darwin library package in
-.Pa pkgsrc/emulators/darwin_lib .
-This package uses files provided by the OpenDarwin project.
-Therefore, it does not contain Apple's MacOS X proprietary libraries,
-which are required in order to run any Quartz-based application.
-If you need some files not installed by the package, read on.
-.It
-You can also install Darwin or MacOS X files in
-.Pa /emul/darwin
-by hand.
-To do this, you need a Darwin system.
-In order to know what libraries a program needs, just use the
-.Dl otool -L program
-command on Darwin.
-Alternatively, you can use
-.Xr ktrace 1
-and
-.Xr kdump 1
-to discover what files the program attempts to open.
-.El
-.Pp
-Please note that you need a valid MacOS X license if you copy Apple
-proprietary libraries and programs from a MacOS X system.
-.Sh SEE ALSO
-.Xr kdump 1 ,
-.Xr ktrace 1 ,
-.Xr options 4
-.Sh AUTHORS
-.Dv COMPAT_DARWIN
-and
-.Dv COMPAT_MACH
-layers were written by
-.An Emmanuel Dreyfus Aq manu%NetBSD.org@localhost
-with some help from
-.An Christos Zoulas Aq christos%NetBSD.org@localhost
-.Pp
-.Dv EXEC_MACHO
-was integrated into
-.Nx
-by
-.An Christos Zoulas Aq christos%NetBSD.org@localhost .
-.Pp
-The
-.Pa pkgsrc/emulators/darwin_lib
-package was created by
-.An James Whitwell Aq abacau%yahoo.com.au@localhost .
-.Sh BUGS



Home | Main Index | Thread Index | Old Index