Source-Changes-D archive

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

Re: CVS commit: src/sys/arch



On 02.12.2017 14:03, Maxime Villard wrote:
> Module Name:	src
> Committed By:	maxv
> Date:		Sat Dec  2 13:03:15 UTC 2017
> 
> Modified Files:
> 	src/sys/arch/amd64/conf: GENERIC files.amd64
> 	src/sys/arch/xen/conf: files.xen
> Removed Files:
> 	src/sys/arch/amd64/amd64: compat_13_machdep.c
> 
> Log Message:
> Drop COMPAT_13 on amd64, already not enabled. Reduces the number of
> critical places.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -u -r1.1 -r0 src/sys/arch/amd64/amd64/compat_13_machdep.c
> cvs rdiff -u -r1.470 -r1.471 src/sys/arch/amd64/conf/GENERIC
> cvs rdiff -u -r1.94 -r1.95 src/sys/arch/amd64/conf/files.amd64
> cvs rdiff -u -r1.163 -r1.164 src/sys/arch/xen/conf/files.xen
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 
> 
> 
> Modified files:
> 
> Index: src/sys/arch/amd64/conf/GENERIC
> diff -u src/sys/arch/amd64/conf/GENERIC:1.470 src/sys/arch/amd64/conf/GENERIC:1.471
> --- src/sys/arch/amd64/conf/GENERIC:1.470	Sat Dec  2 12:40:03 2017
> +++ src/sys/arch/amd64/conf/GENERIC	Sat Dec  2 13:03:15 2017
> @@ -1,4 +1,4 @@
> -# $NetBSD: GENERIC,v 1.470 2017/12/02 12:40:03 maxv Exp $
> +# $NetBSD: GENERIC,v 1.471 2017/12/02 13:03:15 maxv Exp $
>  #
>  # GENERIC machine description file
>  #
> @@ -22,7 +22,7 @@ include 	"arch/amd64/conf/std.amd64"
>  
>  options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
>  
> -#ident		"GENERIC-$Revision: 1.470 $"
> +#ident		"GENERIC-$Revision: 1.471 $"
>  
>  maxusers	64		# estimated number of users
>  
> @@ -117,7 +117,7 @@ options 	KDTRACE_HOOKS	# kernel DTrace h
>  # Compatibility options
>  #options 	EXEC_AOUT	# required by binaries from before 1.5
>  
> -# NetBSD backward compatibility. Support goes from COMPAT_11 up until
> +# NetBSD backward compatibility. Support goes from COMPAT_15 up until
>  # the latest release. Note that really old compat (< COMPAT_16) is only
>  # useful for 32-bit binaries.
>  include 	"conf/compat_netbsd15.config"
> 
> Index: src/sys/arch/amd64/conf/files.amd64
> diff -u src/sys/arch/amd64/conf/files.amd64:1.94 src/sys/arch/amd64/conf/files.amd64:1.95
> --- src/sys/arch/amd64/conf/files.amd64:1.94	Sun Oct  8 09:06:50 2017
> +++ src/sys/arch/amd64/conf/files.amd64	Sat Dec  2 13:03:15 2017
> @@ -1,4 +1,4 @@
> -#	$NetBSD: files.amd64,v 1.94 2017/10/08 09:06:50 maxv Exp $
> +#	$NetBSD: files.amd64,v 1.95 2017/12/02 13:03:15 maxv Exp $
>  #
>  # new style config file for amd64 architecture
>  #
> @@ -136,7 +136,6 @@ attach	fd at fdc
>  # Compatibility modules
>  #
>  # Binary compatibility with previous NetBSD releases (COMPAT_XX)
> -file	arch/amd64/amd64/compat_13_machdep.c	compat_13
>  file	arch/amd64/amd64/compat_16_machdep.c	compat_16
>  
>  # NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32)
> 
> Index: src/sys/arch/xen/conf/files.xen
> diff -u src/sys/arch/xen/conf/files.xen:1.163 src/sys/arch/xen/conf/files.xen:1.164
> --- src/sys/arch/xen/conf/files.xen:1.163	Mon Nov  6 15:21:23 2017
> +++ src/sys/arch/xen/conf/files.xen	Sat Dec  2 13:03:15 2017
> @@ -1,4 +1,4 @@
> -#	$NetBSD: files.xen,v 1.163 2017/11/06 15:21:23 cherry Exp $
> +#	$NetBSD: files.xen,v 1.164 2017/12/02 13:03:15 maxv Exp $
>  #	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
>  #	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
>  
> @@ -330,7 +330,6 @@ include	"compat/freebsd/files.freebsd"
>  elifdef amd64
>  
>  # Binary compatibility with previous NetBSD releases (COMPAT_XX)
> -file	arch/amd64/amd64/compat_13_machdep.c	compat_13
>  file	arch/amd64/amd64/compat_16_machdep.c	compat_16
>  
>  # NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32)
> 

There are still users of NetBSD/i386 0.9 executables (like myself - of
Franz Lisp).

It's reasonable to drop compat for pre-ELF (approximately < 2.0) as we
can use emulators, but it should be discussed and decided by core.

pkgsrc for early compat distributions (emulators/compat12, 13, 14) never
worked well for me and I had to build them manually.

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index