Module Name: src Committed By: rin Date: Sat Jan 2 02:13:42 UTC 2021
Modified Files: src/sys/kern: core_elf32.c Log Message: Use <compat/netbsd32/netbsd32.h> instead of <machine/netbsd32_machdep.h>, which is not intended for standalone use. Compile tested for all ports with their own COMPAT_NETBSD32 codes: aarch64, amd64, arm, mips64, sparc64, and algor64. Should fix build failure for mips64 in netbsd-9, where netbsd32.h is not included by other header files. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sys/kern/core_elf32.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/kern/core_elf32.c diff -u src/sys/kern/core_elf32.c:1.66 src/sys/kern/core_elf32.c:1.67 --- src/sys/kern/core_elf32.c:1.66 Mon Oct 19 19:33:02 2020 +++ src/sys/kern/core_elf32.c Sat Jan 2 02:13:42 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: core_elf32.c,v 1.66 2020/10/19 19:33:02 christos Exp $ */ +/* $NetBSD: core_elf32.c,v 1.67 2021/01/02 02:13:42 rin Exp $ */ /* * Copyright (c) 2001 Wasabi Systems, Inc. @@ -40,7 +40,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(1, "$NetBSD: core_elf32.c,v 1.66 2020/10/19 19:33:02 christos Exp $"); +__KERNEL_RCSID(1, "$NetBSD: core_elf32.c,v 1.67 2021/01/02 02:13:42 rin Exp $"); #ifdef _KERNEL_OPT #include "opt_compat_netbsd32.h" @@ -66,7 +66,7 @@ __KERNEL_RCSID(1, "$NetBSD: core_elf32.c #include <uvm/uvm_extern.h> #ifdef COMPAT_NETBSD32 -#include <machine/netbsd32_machdep.h> +#include <compat/netbsd32/netbsd32.h> #endif struct writesegs_state {