CVS commit: src/distrib/notes/common
Module Name:src Committed By: abs Date: Thu Dec 14 20:46:45 UTC 2023 Modified Files: src/distrib/notes/common: main Log Message: Add note about zfs mount behaviour change in NetBSD 10 To generate a diff of this commit: cvs rdiff -u -r1.570 -r1.571 src/distrib/notes/common/main Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/notes/common/main diff -u src/distrib/notes/common/main:1.570 src/distrib/notes/common/main:1.571 --- src/distrib/notes/common/main:1.570 Fri Dec 16 16:58:14 2022 +++ src/distrib/notes/common/main Thu Dec 14 20:46:45 2023 @@ -1,4 +1,4 @@ -.\" $NetBSD: main,v 1.570 2022/12/16 16:58:14 martin Exp $ +.\" $NetBSD: main,v 1.571 2023/12/14 20:46:45 abs Exp $ .\" .\" Copyright (c) 1999-2012 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -811,6 +811,16 @@ and thus all issues that are fixed by .Ic postinstall by default will be handled. .Pp +In +.Nx 9 +and earlier, filesystems listed in +.Pa /etc/fstab +would be mounted before non legacy +.Ic zfs +filesystems. Starting from +.Nx 10 +this order has been reversed. +.Pp If you have ever run a version of .Nx -current between April 18, 2020 and September 23, 2022 (the version numbers
CVS commit: src/distrib/notes/common
Module Name:src Committed By: abs Date: Thu Dec 14 20:46:45 UTC 2023 Modified Files: src/distrib/notes/common: main Log Message: Add note about zfs mount behaviour change in NetBSD 10 To generate a diff of this commit: cvs rdiff -u -r1.570 -r1.571 src/distrib/notes/common/main Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/sparc64
Module Name:src Committed By: andvar Date: Thu Dec 14 20:17:19 UTC 2023 Modified Files: src/sys/arch/sparc64/dev: vnet.c src/sys/arch/sparc64/sparc64: netbsd32_machdep_13.c Log Message: Use console_debugger() vs Debugger() which allows to avoid #ifdef DDB blocks. >From uwe@ To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/sparc64/dev/vnet.c cvs rdiff -u -r1.4 -r1.5 src/sys/arch/sparc64/sparc64/netbsd32_machdep_13.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/arch/sparc64/dev/vnet.c diff -u src/sys/arch/sparc64/dev/vnet.c:1.9 src/sys/arch/sparc64/dev/vnet.c:1.10 --- src/sys/arch/sparc64/dev/vnet.c:1.9 Wed Dec 13 23:11:35 2023 +++ src/sys/arch/sparc64/dev/vnet.c Thu Dec 14 20:17:18 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: vnet.c,v 1.9 2023/12/13 23:11:35 andvar Exp $ */ +/* $NetBSD: vnet.c,v 1.10 2023/12/14 20:17:18 andvar Exp $ */ /* $OpenBSD: vnet.c,v 1.62 2020/07/10 13:26:36 patrick Exp $ */ /* * Copyright (c) 2009, 2015 Mark Kettenis @@ -441,9 +441,7 @@ vnet_rx_intr(void *arg) default: DPRINTF(("%s: unhandled type %0x02/%0x02/%0x02\n", __func__, lp->type, lp->stype, lp->ctrl)); -#ifdef DDB - Debugger(); -#endif + console_debugger(); ldc_reset(lc); break; } Index: src/sys/arch/sparc64/sparc64/netbsd32_machdep_13.c diff -u src/sys/arch/sparc64/sparc64/netbsd32_machdep_13.c:1.4 src/sys/arch/sparc64/sparc64/netbsd32_machdep_13.c:1.5 --- src/sys/arch/sparc64/sparc64/netbsd32_machdep_13.c:1.4 Wed Dec 13 23:11:35 2023 +++ src/sys/arch/sparc64/sparc64/netbsd32_machdep_13.c Thu Dec 14 20:17:18 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: netbsd32_machdep_13.c,v 1.4 2023/12/13 23:11:35 andvar Exp $ */ +/* $NetBSD: netbsd32_machdep_13.c,v 1.5 2023/12/14 20:17:18 andvar Exp $ */ /* * Copyright (c) 1998, 2001 Matthew R. Green @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep_13.c,v 1.4 2023/12/13 23:11:35 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep_13.c,v 1.5 2023/12/14 20:17:18 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_compat_netbsd.h" @@ -105,9 +105,7 @@ compat_13_netbsd32_sigreturn(struct lwp #ifdef DEBUG printf("%s: rwindow_save(%p) failed, sending SIGILL\n", __func__, p); -#ifdef DDB - Debugger(); -#endif + console_debugger(); #endif mutex_enter(p->p_lock); sigexit(l, SIGILL); @@ -116,9 +114,7 @@ compat_13_netbsd32_sigreturn(struct lwp if (sigdebug & SDB_FOLLOW) { printf("%s: %s[%d], sigcntxp %u\n", __func__, p->p_comm, p->p_pid, SCARG(uap, sigcntxp)); -#ifdef DDB - if (sigdebug & SDB_DDB) Debugger(); -#endif + if (sigdebug & SDB_DDB) console_debugger(); } #endif scp = (struct netbsd32_sigcontext13 *)(u_long)SCARG(uap, sigcntxp); @@ -126,9 +122,7 @@ compat_13_netbsd32_sigreturn(struct lwp { #ifdef DEBUG printf("%s: copyin failed\n", __func__); -#ifdef DDB - Debugger(); -#endif + console_debugger(); #endif return (EINVAL); } @@ -145,9 +139,7 @@ compat_13_netbsd32_sigreturn(struct lwp { printf("%s: pc %d or npc %d invalid\n", __func__, sc.sc_pc, sc.sc_npc); -#ifdef DDB - Debugger(); -#endif + console_debugger(); return (EINVAL); } #else @@ -164,9 +156,7 @@ compat_13_netbsd32_sigreturn(struct lwp if (sigdebug & SDB_FOLLOW) { printf("%s: return trapframe pc=%d sp=%d tstate=%x\n", __func__, (int)tf->tf_pc, (int)tf->tf_out[6], (int)tf->tf_tstate); -#ifdef DDB - if (sigdebug & SDB_DDB) Debugger(); -#endif + if (sigdebug & SDB_DDB) console_debugger(); } #endif mutex_enter(p->p_lock);
CVS commit: src/sys/arch/sparc64
Module Name:src Committed By: andvar Date: Thu Dec 14 20:17:19 UTC 2023 Modified Files: src/sys/arch/sparc64/dev: vnet.c src/sys/arch/sparc64/sparc64: netbsd32_machdep_13.c Log Message: Use console_debugger() vs Debugger() which allows to avoid #ifdef DDB blocks. >From uwe@ To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/sparc64/dev/vnet.c cvs rdiff -u -r1.4 -r1.5 src/sys/arch/sparc64/sparc64/netbsd32_machdep_13.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-10] src/doc
Module Name:src Committed By: martin Date: Thu Dec 14 17:57:38 UTC 2023 Modified Files: src/doc [netbsd-10]: CHANGES-10.0 Log Message: Tickets #492 - #498 To generate a diff of this commit: cvs rdiff -u -r1.1.2.171 -r1.1.2.172 src/doc/CHANGES-10.0 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/CHANGES-10.0 diff -u src/doc/CHANGES-10.0:1.1.2.171 src/doc/CHANGES-10.0:1.1.2.172 --- src/doc/CHANGES-10.0:1.1.2.171 Tue Dec 12 16:46:06 2023 +++ src/doc/CHANGES-10.0 Thu Dec 14 17:57:38 2023 @@ -1,5 +1,4 @@ - -# $NetBSD: CHANGES-10.0,v 1.1.2.171 2023/12/12 16:46:06 martin Exp $ +# $NetBSD: CHANGES-10.0,v 1.1.2.172 2023/12/14 17:57:38 martin Exp $ A complete list of changes from the initial NetBSD 10.0 branch on 2022-12-16 until the 10.0 release: @@ -14304,3 +14303,50 @@ sys/net/lagg/if_lagg.c1.56,1.57 - fix "ifconfig lagg* lagglacp -maxports" command [yamaguchi, ticket #491] +external/gpl3/binutils.old/dist/bfd/config.bfd 1.10 +external/gpl3/binutils.old/lib/libbfd/arch/vax/bfd.h 1.8 +external/gpl3/binutils.old/lib/libbfd/arch/vax/bfd_stdint.h 1.8 +external/gpl3/binutils.old/lib/libbfd/arch/vax/defs.mk 1.8 + (all applied to external/gpl3/binutils/*) + + binutils/bfd: require 64-bit integer support for vax. + [rin, ticket #492] + +external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c 1.20 + + mdnsd(8): PR 57769: fix mdnsd on systems with no IPv6 support in + the kernel. + [thorpej, ticket #493] + +sys/arch/xen/x86/xen_ipi.c 1.42 +sys/dev/nvmm/x86/nvmm_x86_vmx.c 1.86 + + Sprinkle __diagused to fix clang non-DIAGNOSTIC builds. + [rin, ticket #494] + +sys/arch/arm/arm/smccc.c 1.4 +sys/arch/arm/arm32/pmap.c 1.441 + + smccc: Adjust SMCCC_ARCH_ATTRIBUTE for clang/arm. + arm: pmap: Fix clang build without DIAGNOSTIC. + [rin, ticket #495] + +common/lib/libc/atomic/atomic_is_lock_free.c 1.2,1.3 + + Fix clang build of __atomic_is_lock_free for common/libc. + [rin, ticket #496] + +xsrc/external/mit/pixman/dist/pixman/pixman.h 1.10 + + Pull across a fix from upstream to fix clang builds. + [rin, ticket #497] + +sys/arch/i386/stand/Makefile.booters 1.95 +sys/arch/i386/stand/Makefile.inc 1.19 +sys/arch/i386/stand/bootxx/bootxx_msdos/Makefile 1.5 +sys/arch/i386/stand/bootxx/bootxx_ustarfs/Makefile 1.4 +sys/arch/i386/stand/dosboot/Makefile 1.34,1.35 + + Fix the clang build of x86 booters. + [rin, ticket #498] +
CVS commit: [netbsd-10] src/doc
Module Name:src Committed By: martin Date: Thu Dec 14 17:57:38 UTC 2023 Modified Files: src/doc [netbsd-10]: CHANGES-10.0 Log Message: Tickets #492 - #498 To generate a diff of this commit: cvs rdiff -u -r1.1.2.171 -r1.1.2.172 src/doc/CHANGES-10.0 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-10] src/sys/arch/i386/stand
Module Name:src Committed By: martin Date: Thu Dec 14 17:56:09 UTC 2023 Modified Files: src/sys/arch/i386/stand [netbsd-10]: Makefile.booters Makefile.inc src/sys/arch/i386/stand/bootxx/bootxx_msdos [netbsd-10]: Makefile src/sys/arch/i386/stand/bootxx/bootxx_ustarfs [netbsd-10]: Makefile src/sys/arch/i386/stand/dosboot [netbsd-10]: Makefile Log Message: Pull up following revision(s) (requested by rin in ticket #498): sys/arch/i386/stand/dosboot/Makefile: revision 1.35 sys/arch/i386/stand/Makefile.booters: revision 1.95 sys/arch/i386/stand/bootxx/bootxx_msdos/Makefile: revision 1.5 sys/arch/i386/stand/Makefile.inc: revision 1.19 sys/arch/i386/stand/bootxx/bootxx_ustarfs/Makefile: revision 1.4 sys/arch/i386/stand/dosboot/Makefile: revision 1.34 Fix the clang build by setting -z noseparate-code Merge the OPT_SIZE flags. -Oz is not always producing smaller code that -Os, so default to -Os for both, and we'll override where needed. Override these two booters with -Oz for clang since it produces smaller code here. x86/dosboot: Allow NULL dereference to fetch command line arguments DOS command line arguments are provided as struct psp at 0x; see doscommain.c. Recent versions of gcc and clang are clever enough to optimize code block involving NULL dereference into ud2 insn. Sprinkle -fno-delete-null-pointer-checks to doscommain.c to prevent this behavior. Note that dosboot.com for netbsd-9 and later was broken due to this ``over optimization''. gcc 5.5.0 and clang 4.0.0 in netbsd-8 generate correct codes without this workaround. XXX Are there still use cases for dosboot.com? Does anyone want to boot NetBSD from real-mode DOS in 2023? x86/dosboot: Do not page-align data segment 4K alignment is too heavy burden for COM executable with 64K limit :) Fix binary size overflow for clang/amd64. To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.94.20.1 src/sys/arch/i386/stand/Makefile.booters cvs rdiff -u -r1.18 -r1.18.30.1 src/sys/arch/i386/stand/Makefile.inc cvs rdiff -u -r1.4 -r1.4.24.1 \ src/sys/arch/i386/stand/bootxx/bootxx_msdos/Makefile cvs rdiff -u -r1.3 -r1.3.94.1 \ src/sys/arch/i386/stand/bootxx/bootxx_ustarfs/Makefile cvs rdiff -u -r1.33 -r1.33.26.1 src/sys/arch/i386/stand/dosboot/Makefile 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/i386/stand/Makefile.booters diff -u src/sys/arch/i386/stand/Makefile.booters:1.94 src/sys/arch/i386/stand/Makefile.booters:1.94.20.1 --- src/sys/arch/i386/stand/Makefile.booters:1.94 Sun Sep 6 07:20:28 2020 +++ src/sys/arch/i386/stand/Makefile.booters Thu Dec 14 17:56:08 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.booters,v 1.94 2020/09/06 07:20:28 mrg Exp $ +# $NetBSD: Makefile.booters,v 1.94.20.1 2023/12/14 17:56:08 martin Exp $ NOLIBCSANITIZER= NOSANITIZER= @@ -77,7 +77,7 @@ cleandir distclean: .WAIT cleanlibdir cleanlibdir: -rm -rf lib -LDFLAGS+=-Wl,-M -Wl,-e,start # -N does not work properly. +LDFLAGS+=-Wl,-z,noseparate-code -Wl,-M -Wl,-e,start # -N does not work properly. LIBLIST=${LIBI386} ${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN} ${LIBI386} ${LIBSA} Index: src/sys/arch/i386/stand/Makefile.inc diff -u src/sys/arch/i386/stand/Makefile.inc:1.18 src/sys/arch/i386/stand/Makefile.inc:1.18.30.1 --- src/sys/arch/i386/stand/Makefile.inc:1.18 Sun Jan 27 04:56:46 2019 +++ src/sys/arch/i386/stand/Makefile.inc Thu Dec 14 17:56:08 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.18 2019/01/27 04:56:46 dholland Exp $ +# $NetBSD: Makefile.inc,v 1.18.30.1 2023/12/14 17:56:08 martin Exp $ NOLIBCSANITIZER= NOSANITIZER= @@ -10,8 +10,6 @@ NOMAN= BINDIR= /usr/mdec OPT_SIZE.gcc= -Os -ffreestanding -fomit-frame-pointer -fno-unwind-tables \ - -fno-asynchronous-unwind-tables -fno-exceptions -mno-sse -OPT_SIZE.clang= -Oz -ffreestanding -fomit-frame-pointer -DNDEBUG \ - -fno-stack-protector -mno-sse \ - -mstack-alignment=4 \ - -fno-unwind-tables + -fno-asynchronous-unwind-tables -fno-exceptions -mno-sse \ + -fno-stack-protector +OPT_SIZE.clang= ${OPT_SIZE.gcc} -mstack-alignment=4 -DNDEBUG Index: src/sys/arch/i386/stand/bootxx/bootxx_msdos/Makefile diff -u src/sys/arch/i386/stand/bootxx/bootxx_msdos/Makefile:1.4 src/sys/arch/i386/stand/bootxx/bootxx_msdos/Makefile:1.4.24.1 --- src/sys/arch/i386/stand/bootxx/bootxx_msdos/Makefile:1.4 Wed Jan 22 06:13:18 2020 +++ src/sys/arch/i386/stand/bootxx/bootxx_msdos/Makefile Thu Dec 14 17:56:08 2023 @@ -1,7 +1,11 @@ -# $NetBSD: Makefile,v 1.4 2020/01/22 06:13:18 martin Exp $ +# $NetBSD: Makefile,v 1.4.24.1 2023/12/14 17:56:08 martin Exp $ + +NOMAN=yes +.include PROG= bootxx_msdos FS= dosfs CPPFLAGS=-DBOOT_FROM_FAT -DTERSE_ERROR -DSA_DOSFS_NO_BIG_PART_SUPPORT .include <../Makefile.bootxx> +OPT_SIZE.clang += -Oz Index: src/sys/arch/i386/stand/bootxx/bootxx_ustarfs/Makefile diff -u
CVS commit: [netbsd-10] src/sys/arch/i386/stand
Module Name:src Committed By: martin Date: Thu Dec 14 17:56:09 UTC 2023 Modified Files: src/sys/arch/i386/stand [netbsd-10]: Makefile.booters Makefile.inc src/sys/arch/i386/stand/bootxx/bootxx_msdos [netbsd-10]: Makefile src/sys/arch/i386/stand/bootxx/bootxx_ustarfs [netbsd-10]: Makefile src/sys/arch/i386/stand/dosboot [netbsd-10]: Makefile Log Message: Pull up following revision(s) (requested by rin in ticket #498): sys/arch/i386/stand/dosboot/Makefile: revision 1.35 sys/arch/i386/stand/Makefile.booters: revision 1.95 sys/arch/i386/stand/bootxx/bootxx_msdos/Makefile: revision 1.5 sys/arch/i386/stand/Makefile.inc: revision 1.19 sys/arch/i386/stand/bootxx/bootxx_ustarfs/Makefile: revision 1.4 sys/arch/i386/stand/dosboot/Makefile: revision 1.34 Fix the clang build by setting -z noseparate-code Merge the OPT_SIZE flags. -Oz is not always producing smaller code that -Os, so default to -Os for both, and we'll override where needed. Override these two booters with -Oz for clang since it produces smaller code here. x86/dosboot: Allow NULL dereference to fetch command line arguments DOS command line arguments are provided as struct psp at 0x; see doscommain.c. Recent versions of gcc and clang are clever enough to optimize code block involving NULL dereference into ud2 insn. Sprinkle -fno-delete-null-pointer-checks to doscommain.c to prevent this behavior. Note that dosboot.com for netbsd-9 and later was broken due to this ``over optimization''. gcc 5.5.0 and clang 4.0.0 in netbsd-8 generate correct codes without this workaround. XXX Are there still use cases for dosboot.com? Does anyone want to boot NetBSD from real-mode DOS in 2023? x86/dosboot: Do not page-align data segment 4K alignment is too heavy burden for COM executable with 64K limit :) Fix binary size overflow for clang/amd64. To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.94.20.1 src/sys/arch/i386/stand/Makefile.booters cvs rdiff -u -r1.18 -r1.18.30.1 src/sys/arch/i386/stand/Makefile.inc cvs rdiff -u -r1.4 -r1.4.24.1 \ src/sys/arch/i386/stand/bootxx/bootxx_msdos/Makefile cvs rdiff -u -r1.3 -r1.3.94.1 \ src/sys/arch/i386/stand/bootxx/bootxx_ustarfs/Makefile cvs rdiff -u -r1.33 -r1.33.26.1 src/sys/arch/i386/stand/dosboot/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-10] xsrc/external/mit/pixman/dist/pixman
Module Name:xsrc Committed By: martin Date: Thu Dec 14 17:53:22 UTC 2023 Modified Files: xsrc/external/mit/pixman/dist/pixman [netbsd-10]: pixman.h Log Message: Pull up following revision(s) (requested by rin in ticket #497): xsrc/external/mit/pixman/dist/pixman/pixman.h: revision 1.10 pull across a fix from upstream to fix clang builds. https://gitlab.freedesktop.org/pixman/pixman/-/merge_requests/16/diffs?commit_id=d60b0af5e32fed034bd163d244148947d3ed91a8 Avoid undefined behavior (left-shifting negative value) in pixman_int_to_fixed Reported in https://bugzilla.mozilla.org/show_bug.cgi?id=1580352. Casting the argument to uint32_t should avoid invoking undefined behavior here. We'll still have *implementation-defined* behavior when casting the result back to pixman_fixed_t, but that's better than *undefined*. To generate a diff of this commit: cvs rdiff -u -r1.8.2.1 -r1.8.2.2 \ xsrc/external/mit/pixman/dist/pixman/pixman.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-10] xsrc/external/mit/pixman/dist/pixman
Module Name:xsrc Committed By: martin Date: Thu Dec 14 17:53:22 UTC 2023 Modified Files: xsrc/external/mit/pixman/dist/pixman [netbsd-10]: pixman.h Log Message: Pull up following revision(s) (requested by rin in ticket #497): xsrc/external/mit/pixman/dist/pixman/pixman.h: revision 1.10 pull across a fix from upstream to fix clang builds. https://gitlab.freedesktop.org/pixman/pixman/-/merge_requests/16/diffs?commit_id=d60b0af5e32fed034bd163d244148947d3ed91a8 Avoid undefined behavior (left-shifting negative value) in pixman_int_to_fixed Reported in https://bugzilla.mozilla.org/show_bug.cgi?id=1580352. Casting the argument to uint32_t should avoid invoking undefined behavior here. We'll still have *implementation-defined* behavior when casting the result back to pixman_fixed_t, but that's better than *undefined*. To generate a diff of this commit: cvs rdiff -u -r1.8.2.1 -r1.8.2.2 \ xsrc/external/mit/pixman/dist/pixman/pixman.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: xsrc/external/mit/pixman/dist/pixman/pixman.h diff -u xsrc/external/mit/pixman/dist/pixman/pixman.h:1.8.2.1 xsrc/external/mit/pixman/dist/pixman/pixman.h:1.8.2.2 --- xsrc/external/mit/pixman/dist/pixman/pixman.h:1.8.2.1 Mon Dec 19 12:05:18 2022 +++ xsrc/external/mit/pixman/dist/pixman/pixman.h Thu Dec 14 17:53:22 2023 @@ -127,7 +127,7 @@ typedef pixman_fixed_16_16_t pixman_fixe #define pixman_fixed_1_minus_e (pixman_fixed_1 - pixman_fixed_e) #define pixman_fixed_minus_1 (pixman_int_to_fixed(-1)) #define pixman_fixed_to_int(f) ((int) ((f) >> 16)) -#define pixman_int_to_fixed(i) ((pixman_fixed_t) ((i) << 16)) +#define pixman_int_to_fixed(i) ((pixman_fixed_t) ((uint32_t) (i) << 16)) #define pixman_fixed_to_double(f) (double) ((f) / (double) pixman_fixed_1) #define pixman_double_to_fixed(d) ((pixman_fixed_t) ((d) * 65536.0)) #define pixman_fixed_frac(f) ((f) & pixman_fixed_1_minus_e)
CVS commit: [netbsd-10] src/common/lib/libc/atomic
Module Name:src Committed By: martin Date: Thu Dec 14 17:49:40 UTC 2023 Modified Files: src/common/lib/libc/atomic [netbsd-10]: atomic_is_lock_free.c Log Message: Pull up following revision(s) (requested by rin in ticket #496): common/lib/libc/atomic/atomic_is_lock_free.c: revision 1.2 common/lib/libc/atomic/atomic_is_lock_free.c: revision 1.3 libc __atomic_is_lock_free: Fix clang build with symbol hacks. libc atomic: Make previous work a little less accidentally. To generate a diff of this commit: cvs rdiff -u -r1.3.2.2 -r1.3.2.3 \ src/common/lib/libc/atomic/atomic_is_lock_free.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/common/lib/libc/atomic/atomic_is_lock_free.c diff -u src/common/lib/libc/atomic/atomic_is_lock_free.c:1.3.2.2 src/common/lib/libc/atomic/atomic_is_lock_free.c:1.3.2.3 --- src/common/lib/libc/atomic/atomic_is_lock_free.c:1.3.2.2 Mon Jul 31 16:10:26 2023 +++ src/common/lib/libc/atomic/atomic_is_lock_free.c Thu Dec 14 17:49:40 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: atomic_is_lock_free.c,v 1.3.2.2 2023/07/31 16:10:26 martin Exp $ */ +/* $NetBSD: atomic_is_lock_free.c,v 1.3.2.3 2023/12/14 17:49:40 martin Exp $ */ /*- * Copyright (c) 2023 The NetBSD Foundation, Inc. @@ -27,12 +27,21 @@ */ #include -__RCSID("$NetBSD: atomic_is_lock_free.c,v 1.3.2.2 2023/07/31 16:10:26 martin Exp $"); +__RCSID("$NetBSD: atomic_is_lock_free.c,v 1.3.2.3 2023/12/14 17:49:40 martin Exp $"); #include #include +/* + * XXX Work around clang's built-in __atomic_is_lock_free by having the + * C name be different but using an asm rename to define the right + * symbol. + */ +bool __atomic_is_lock_free_hack(size_t, const volatile void *) +__RENAME(__atomic_is_lock_free); +#define __atomic_is_lock_free __atomic_is_lock_free_hack + bool __atomic_is_lock_free(size_t n, const volatile void *p __unused) {
CVS commit: [netbsd-10] src/common/lib/libc/atomic
Module Name:src Committed By: martin Date: Thu Dec 14 17:49:40 UTC 2023 Modified Files: src/common/lib/libc/atomic [netbsd-10]: atomic_is_lock_free.c Log Message: Pull up following revision(s) (requested by rin in ticket #496): common/lib/libc/atomic/atomic_is_lock_free.c: revision 1.2 common/lib/libc/atomic/atomic_is_lock_free.c: revision 1.3 libc __atomic_is_lock_free: Fix clang build with symbol hacks. libc atomic: Make previous work a little less accidentally. To generate a diff of this commit: cvs rdiff -u -r1.3.2.2 -r1.3.2.3 \ src/common/lib/libc/atomic/atomic_is_lock_free.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-10] src/sys/arch/arm
Module Name:src Committed By: martin Date: Thu Dec 14 17:43:11 UTC 2023 Modified Files: src/sys/arch/arm/arm [netbsd-10]: smccc.c src/sys/arch/arm/arm32 [netbsd-10]: pmap.c Log Message: Pull up following revision(s) (requested by rin in ticket #495): sys/arch/arm/arm/smccc.c: revision 1.4 sys/arch/arm/arm32/pmap.c: revision 1.441 smccc: Adjust SMCCC_ARCH_ATTRIBUTE for clang/arm Conditionally use (1) __attribute__ ((target("arch=armv7ve"))) (2) __attribute__ ((target("armv7ve"))) for gcc and clang, respectively. While gcc does not accept (2), clang accepts (1) but silently ignores it :( arm: pmap: Fix clang build without DIAGNOSTIC To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.3.6.1 src/sys/arch/arm/arm/smccc.c cvs rdiff -u -r1.437.4.2 -r1.437.4.3 src/sys/arch/arm/arm32/pmap.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/arch/arm/arm/smccc.c diff -u src/sys/arch/arm/arm/smccc.c:1.3 src/sys/arch/arm/arm/smccc.c:1.3.6.1 --- src/sys/arch/arm/arm/smccc.c:1.3 Sun Aug 8 13:43:09 2021 +++ src/sys/arch/arm/arm/smccc.c Thu Dec 14 17:43:10 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: smccc.c,v 1.3 2021/08/08 13:43:09 jmcneill Exp $ */ +/* $NetBSD: smccc.c,v 1.3.6.1 2023/12/14 17:43:10 martin Exp $ */ /*- * Copyright (c) 2021 Jared McNeill @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: smccc.c,v 1.3 2021/08/08 13:43:09 jmcneill Exp $"); +__KERNEL_RCSID(0, "$NetBSD: smccc.c,v 1.3.6.1 2023/12/14 17:43:10 martin Exp $"); #include #include @@ -36,7 +36,11 @@ __KERNEL_RCSID(0, "$NetBSD: smccc.c,v 1. #include #if defined(__arm__) +# if defined(__clang__) +#define SMCCC_ARCH_ATTRIBUTE __attribute__ ((target("armv7ve"))) +# else /* gcc */ #define SMCCC_ARCH_ATTRIBUTE __attribute__ ((target("arch=armv7ve"))) +# endif #else #define SMCCC_ARCH_ATTRIBUTE #endif Index: src/sys/arch/arm/arm32/pmap.c diff -u src/sys/arch/arm/arm32/pmap.c:1.437.4.2 src/sys/arch/arm/arm32/pmap.c:1.437.4.3 --- src/sys/arch/arm/arm32/pmap.c:1.437.4.2 Sat Oct 14 06:52:17 2023 +++ src/sys/arch/arm/arm32/pmap.c Thu Dec 14 17:43:10 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.437.4.2 2023/10/14 06:52:17 martin Exp $ */ +/* $NetBSD: pmap.c,v 1.437.4.3 2023/12/14 17:43:10 martin Exp $ */ /* * Copyright 2003 Wasabi Systems, Inc. @@ -193,7 +193,7 @@ #endif #include -__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.437.4.2 2023/10/14 06:52:17 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.437.4.3 2023/12/14 17:43:10 martin Exp $"); #include #include @@ -547,7 +547,7 @@ pmap_release_page_lock(struct vm_page_md mutex_exit(_lock); } -static inline int +static inline int __diagused pmap_page_locked_p(struct vm_page_md *md) { return mutex_owned(_lock);
CVS commit: [netbsd-10] src/sys/arch/arm
Module Name:src Committed By: martin Date: Thu Dec 14 17:43:11 UTC 2023 Modified Files: src/sys/arch/arm/arm [netbsd-10]: smccc.c src/sys/arch/arm/arm32 [netbsd-10]: pmap.c Log Message: Pull up following revision(s) (requested by rin in ticket #495): sys/arch/arm/arm/smccc.c: revision 1.4 sys/arch/arm/arm32/pmap.c: revision 1.441 smccc: Adjust SMCCC_ARCH_ATTRIBUTE for clang/arm Conditionally use (1) __attribute__ ((target("arch=armv7ve"))) (2) __attribute__ ((target("armv7ve"))) for gcc and clang, respectively. While gcc does not accept (2), clang accepts (1) but silently ignores it :( arm: pmap: Fix clang build without DIAGNOSTIC To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.3.6.1 src/sys/arch/arm/arm/smccc.c cvs rdiff -u -r1.437.4.2 -r1.437.4.3 src/sys/arch/arm/arm32/pmap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-10] src/sys
Module Name:src Committed By: martin Date: Thu Dec 14 17:39:35 UTC 2023 Modified Files: src/sys/arch/xen/x86 [netbsd-10]: xen_ipi.c src/sys/dev/nvmm/x86 [netbsd-10]: nvmm_x86_vmx.c Log Message: Pull up following revision(s) (requested by rin in ticket #494): sys/arch/xen/x86/xen_ipi.c: revision 1.42 sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.86 xen_ipi: valid_ipimask: Sprinkle __diagused to fix clang !DIAGNOSTIC build nvmm_x86_vmx: vmx_vmptrst: Sprinkle __diagused to fix clang !DIAGNOSTIC build To generate a diff of this commit: cvs rdiff -u -r1.40.4.1 -r1.40.4.2 src/sys/arch/xen/x86/xen_ipi.c cvs rdiff -u -r1.85 -r1.85.4.1 src/sys/dev/nvmm/x86/nvmm_x86_vmx.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/arch/xen/x86/xen_ipi.c diff -u src/sys/arch/xen/x86/xen_ipi.c:1.40.4.1 src/sys/arch/xen/x86/xen_ipi.c:1.40.4.2 --- src/sys/arch/xen/x86/xen_ipi.c:1.40.4.1 Thu Aug 10 10:23:54 2023 +++ src/sys/arch/xen/x86/xen_ipi.c Thu Dec 14 17:39:35 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: xen_ipi.c,v 1.40.4.1 2023/08/10 10:23:54 sborrill Exp $ */ +/* $NetBSD: xen_ipi.c,v 1.40.4.2 2023/12/14 17:39:35 martin Exp $ */ /*- * Copyright (c) 2011, 2019 The NetBSD Foundation, Inc. @@ -35,7 +35,7 @@ * Based on: x86/ipi.c */ -__KERNEL_RCSID(0, "$NetBSD: xen_ipi.c,v 1.40.4.1 2023/08/10 10:23:54 sborrill Exp $"); +__KERNEL_RCSID(0, "$NetBSD: xen_ipi.c,v 1.40.4.2 2023/12/14 17:39:35 martin Exp $"); #include "opt_ddb.h" @@ -149,7 +149,7 @@ xen_ipi_init(void) hypervisor_unmask_event(evtchn); } -static inline bool /* helper */ +static inline bool __diagused valid_ipimask(uint32_t ipimask) { uint32_t masks = XEN_IPI_GENERIC | XEN_IPI_HVCB | XEN_IPI_XCALL | Index: src/sys/dev/nvmm/x86/nvmm_x86_vmx.c diff -u src/sys/dev/nvmm/x86/nvmm_x86_vmx.c:1.85 src/sys/dev/nvmm/x86/nvmm_x86_vmx.c:1.85.4.1 --- src/sys/dev/nvmm/x86/nvmm_x86_vmx.c:1.85 Tue Sep 13 20:10:04 2022 +++ src/sys/dev/nvmm/x86/nvmm_x86_vmx.c Thu Dec 14 17:39:35 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: nvmm_x86_vmx.c,v 1.85 2022/09/13 20:10:04 riastradh Exp $ */ +/* $NetBSD: nvmm_x86_vmx.c,v 1.85.4.1 2023/12/14 17:39:35 martin Exp $ */ /* * Copyright (c) 2018-2020 Maxime Villard, m00nbsd.net @@ -29,7 +29,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: nvmm_x86_vmx.c,v 1.85 2022/09/13 20:10:04 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: nvmm_x86_vmx.c,v 1.85.4.1 2023/12/14 17:39:35 martin Exp $"); #include #include @@ -135,7 +135,7 @@ vmx_vmwrite(uint64_t field, uint64_t val ); } -static inline paddr_t +static inline paddr_t __diagused vmx_vmptrst(void) { paddr_t pa;
CVS commit: [netbsd-10] src/sys
Module Name:src Committed By: martin Date: Thu Dec 14 17:39:35 UTC 2023 Modified Files: src/sys/arch/xen/x86 [netbsd-10]: xen_ipi.c src/sys/dev/nvmm/x86 [netbsd-10]: nvmm_x86_vmx.c Log Message: Pull up following revision(s) (requested by rin in ticket #494): sys/arch/xen/x86/xen_ipi.c: revision 1.42 sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.86 xen_ipi: valid_ipimask: Sprinkle __diagused to fix clang !DIAGNOSTIC build nvmm_x86_vmx: vmx_vmptrst: Sprinkle __diagused to fix clang !DIAGNOSTIC build To generate a diff of this commit: cvs rdiff -u -r1.40.4.1 -r1.40.4.2 src/sys/arch/xen/x86/xen_ipi.c cvs rdiff -u -r1.85 -r1.85.4.1 src/sys/dev/nvmm/x86/nvmm_x86_vmx.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-10] src/external/apache2/mDNSResponder/dist/mDNSPosix
Module Name:src Committed By: martin Date: Thu Dec 14 17:24:42 UTC 2023 Modified Files: src/external/apache2/mDNSResponder/dist/mDNSPosix [netbsd-10]: mDNSPosix.c Log Message: Pull up following revision(s) (requested by thorpej in ticket #493): external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c: revision 1.20 mDNSPlatformInit(): If we fail to create an IPv6 socket, ignore the error and just continue without IPv6 support. PR bin/57769 To generate a diff of this commit: cvs rdiff -u -r1.17.6.1 -r1.17.6.2 \ src/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c diff -u src/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c:1.17.6.1 src/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c:1.17.6.2 --- src/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c:1.17.6.1 Wed Sep 13 09:46:49 2023 +++ src/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c Thu Dec 14 17:24:42 2023 @@ -1324,7 +1324,16 @@ mDNSexport mStatus mDNSPlatformInit(mDNS #if HAVE_IPV6 sa.sa_family = AF_INET6; m->p->unicastSocket6 = -1; -if (err == mStatus_NoError) err = SetupSocket(, zeroIPPort, 0, >p->unicastSocket6); +if (err == mStatus_NoError) +{ + err = SetupSocket(, zeroIPPort, 0, >p->unicastSocket6); + if (err != mStatus_NoError) + { + // Ignore errors configuring IPv6. + m->p->unicastSocket6 = -1; + err = mStatus_NoError; + } +} #endif // Tell mDNS core about the network interfaces on this machine.
CVS commit: [netbsd-10] src/external/apache2/mDNSResponder/dist/mDNSPosix
Module Name:src Committed By: martin Date: Thu Dec 14 17:24:42 UTC 2023 Modified Files: src/external/apache2/mDNSResponder/dist/mDNSPosix [netbsd-10]: mDNSPosix.c Log Message: Pull up following revision(s) (requested by thorpej in ticket #493): external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c: revision 1.20 mDNSPlatformInit(): If we fail to create an IPv6 socket, ignore the error and just continue without IPv6 support. PR bin/57769 To generate a diff of this commit: cvs rdiff -u -r1.17.6.1 -r1.17.6.2 \ src/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-10] src/external/gpl3/binutils
Module Name:src Committed By: martin Date: Thu Dec 14 17:19:59 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd [netbsd-10]: config.bfd src/external/gpl3/binutils/lib/libbfd/arch/vax [netbsd-10]: bfd.h bfd_stdint.h defs.mk Log Message: Pull up following revision(s) (requested by rin in ticket #492): external/gpl3/binutils.old/lib/libbfd/arch/vax/bfd.h: revision 1.8 external/gpl3/binutils.old/lib/libbfd/arch/vax/defs.mk: revision 1.8 external/gpl3/binutils.old/lib/libbfd/arch/vax/bfd_stdint.h: revision 1.8 external/gpl3/binutils.old/dist/bfd/config.bfd: revision 1.10 (all applied to external/gpl3/binutils/) binutils.old/bfd: Require 64-bit integer support for vax binutils.old: Regen for vax to explicitly enable 64-bit integer support To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.34.2.1 src/external/gpl3/binutils/dist/bfd/config.bfd cvs rdiff -u -r1.9 -r1.9.6.1 \ src/external/gpl3/binutils/lib/libbfd/arch/vax/bfd.h cvs rdiff -u -r1.8 -r1.8.2.1 \ src/external/gpl3/binutils/lib/libbfd/arch/vax/bfd_stdint.h cvs rdiff -u -r1.5 -r1.5.6.1 \ src/external/gpl3/binutils/lib/libbfd/arch/vax/defs.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-10] src/external/gpl3/binutils
Module Name:src Committed By: martin Date: Thu Dec 14 17:19:59 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd [netbsd-10]: config.bfd src/external/gpl3/binutils/lib/libbfd/arch/vax [netbsd-10]: bfd.h bfd_stdint.h defs.mk Log Message: Pull up following revision(s) (requested by rin in ticket #492): external/gpl3/binutils.old/lib/libbfd/arch/vax/bfd.h: revision 1.8 external/gpl3/binutils.old/lib/libbfd/arch/vax/defs.mk: revision 1.8 external/gpl3/binutils.old/lib/libbfd/arch/vax/bfd_stdint.h: revision 1.8 external/gpl3/binutils.old/dist/bfd/config.bfd: revision 1.10 (all applied to external/gpl3/binutils/) binutils.old/bfd: Require 64-bit integer support for vax binutils.old: Regen for vax to explicitly enable 64-bit integer support To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.34.2.1 src/external/gpl3/binutils/dist/bfd/config.bfd cvs rdiff -u -r1.9 -r1.9.6.1 \ src/external/gpl3/binutils/lib/libbfd/arch/vax/bfd.h cvs rdiff -u -r1.8 -r1.8.2.1 \ src/external/gpl3/binutils/lib/libbfd/arch/vax/bfd_stdint.h cvs rdiff -u -r1.5 -r1.5.6.1 \ src/external/gpl3/binutils/lib/libbfd/arch/vax/defs.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/binutils/dist/bfd/config.bfd diff -u src/external/gpl3/binutils/dist/bfd/config.bfd:1.34 src/external/gpl3/binutils/dist/bfd/config.bfd:1.34.2.1 --- src/external/gpl3/binutils/dist/bfd/config.bfd:1.34 Wed Dec 14 12:31:15 2022 +++ src/external/gpl3/binutils/dist/bfd/config.bfd Thu Dec 14 17:19:59 2023 @@ -1454,6 +1454,13 @@ case "${targ_defvec} ${targ_selvecs}" in ;; esac +# vax natively supports 64-bit integers. +case "${targ_defvec} ${targ_selvecs}" in + *vax*) +want64=true +;; +esac + case "${host64}${want64}" in *true*) targ_selvecs="${targ_selvecs} ${targ64_selvecs}" Index: src/external/gpl3/binutils/lib/libbfd/arch/vax/bfd.h diff -u src/external/gpl3/binutils/lib/libbfd/arch/vax/bfd.h:1.9 src/external/gpl3/binutils/lib/libbfd/arch/vax/bfd.h:1.9.6.1 --- src/external/gpl3/binutils/lib/libbfd/arch/vax/bfd.h:1.9 Sat Apr 4 20:45:46 2020 +++ src/external/gpl3/binutils/lib/libbfd/arch/vax/bfd.h Thu Dec 14 17:19:59 2023 @@ -90,7 +90,7 @@ extern "C" { /* The word size used by BFD on the host. This may be 64 with a 32 bit target if the host is 64 bit, or if other 64 bit targets have been selected with --enable-targets, or if --enable-64-bit-bfd. */ -#define BFD_ARCH_SIZE 32 +#define BFD_ARCH_SIZE 64 /* The word size of the default bfd target. */ #define BFD_DEFAULT_TARGET_SIZE 32 Index: src/external/gpl3/binutils/lib/libbfd/arch/vax/bfd_stdint.h diff -u src/external/gpl3/binutils/lib/libbfd/arch/vax/bfd_stdint.h:1.8 src/external/gpl3/binutils/lib/libbfd/arch/vax/bfd_stdint.h:1.8.2.1 --- src/external/gpl3/binutils/lib/libbfd/arch/vax/bfd_stdint.h:1.8 Mon Dec 6 08:13:43 2021 +++ src/external/gpl3/binutils/lib/libbfd/arch/vax/bfd_stdint.h Thu Dec 14 17:19:59 2023 @@ -2,7 +2,7 @@ /* Generated from: NetBSD: mknative-binutils,v 1.13 2020/04/04 01:34:53 christos Exp */ /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ -/* generated for vax--netbsdelf-gcc (NetBSD nb1 20210411) 10.3.0 */ +/* generated for vax--netbsdelf-gcc (NetBSD nb3 20231008) 10.5.0 */ #ifndef GCC_GENERATED_STDINT_H #define GCC_GENERATED_STDINT_H 1 Index: src/external/gpl3/binutils/lib/libbfd/arch/vax/defs.mk diff -u src/external/gpl3/binutils/lib/libbfd/arch/vax/defs.mk:1.5 src/external/gpl3/binutils/lib/libbfd/arch/vax/defs.mk:1.5.6.1 --- src/external/gpl3/binutils/lib/libbfd/arch/vax/defs.mk:1.5 Sat Apr 4 20:45:46 2020 +++ src/external/gpl3/binutils/lib/libbfd/arch/vax/defs.mk Thu Dec 14 17:19:59 2023 @@ -2,7 +2,7 @@ # Generated from: NetBSD: mknative-binutils,v 1.13 2020/04/04 01:34:53 christos Exp # Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp # -G_libbfd_la_DEPENDENCIES=elf32-vax.lo elf32.lo elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo dwarf2.lo vaxnetbsd.lo aout32.lo vax1knetbsd.lo elf32-gen.lo plugin.lo cpu-vax.lo netbsd-core.lo ofiles +G_libbfd_la_DEPENDENCIES=elf32-vax.lo elf32.lo elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo dwarf2.lo vaxnetbsd.lo aout32.lo vax1knetbsd.lo elf32-gen.lo plugin.lo cpu-vax.lo netbsd-core.lo archive64.lo ofiles G_libbfd_la_OBJECTS=archive.lo archures.lo bfd.lo bfdio.lo bfdwin.lo cache.lo coff-bfd.lo compress.lo corefile.lo elf-properties.lo format.lo hash.lo init.lo libbfd.lo linker.lo merge.lo opncls.lo reloc.lo section.lo simple.lo stab-syms.lo stabs.lo syms.lo targets.lo binary.lo ihex.lo srec.lo tekhex.lo verilog.lo G_DEFS=-DHAVE_CONFIG_H G_INCLUDES=
Re: CVS commit: src/sys/arch/sparc64
Hi, Will check and adjust. Thanks for the tip. On Thu, Dec 14, 2023 at 2:12 AM Valery Ushakov wrote: > > On Wed, Dec 13, 2023 at 23:11:35 +, Andrius Varanavicius wrote: > > > Module Name: src > > Committed By: andvar > > Date: Wed Dec 13 23:11:35 UTC 2023 > > > > Modified Files: > > src/sys/arch/sparc64/dev: vnet.c > > src/sys/arch/sparc64/sparc64: netbsd32_machdep_13.c > > > > Log Message: > > Add #ifdef DDB blocks around Debugger(); calls to make kernel build without > > DDB. > > May be use console_debugger() that from a quick look seems to do the > right thing already (including db_fromconsole guard)? > > -uwe >
CVS commit: src/sys/arch/i386/stand/libsa
Module Name:src Committed By: mlelstv Date: Thu Dec 14 08:06:23 UTC 2023 Modified Files: src/sys/arch/i386/stand/libsa: nfs.c Log Message: Align again with libsa (NFS_NOSYMLINK fix). To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/arch/i386/stand/libsa/nfs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/i386/stand/libsa
Module Name:src Committed By: mlelstv Date: Thu Dec 14 08:06:23 UTC 2023 Modified Files: src/sys/arch/i386/stand/libsa: nfs.c Log Message: Align again with libsa (NFS_NOSYMLINK fix). To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/arch/i386/stand/libsa/nfs.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/arch/i386/stand/libsa/nfs.c diff -u src/sys/arch/i386/stand/libsa/nfs.c:1.20 src/sys/arch/i386/stand/libsa/nfs.c:1.21 --- src/sys/arch/i386/stand/libsa/nfs.c:1.20 Tue Dec 12 09:16:17 2023 +++ src/sys/arch/i386/stand/libsa/nfs.c Thu Dec 14 08:06:23 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: nfs.c,v 1.20 2023/12/12 09:16:17 mlelstv Exp $ */ +/* $NetBSD: nfs.c,v 1.21 2023/12/14 08:06:23 mlelstv Exp $ */ /*- * Copyright (c) 1993 John Brezak @@ -597,9 +597,9 @@ nfs_open(const char *path, struct open_f char namebuf[NFS_MAXPATHLEN + 1]; char linkbuf[NFS_MAXPATHLEN + 1]; int nlinks = 0; + n_long fa_type; #endif int error = 0; - n_long fa_type; #ifdef NFS_DEBUG if (debug)