CVS commit: src
Module Name:src Committed By: uwe Date: Tue May 3 00:29:24 UTC 2022 Modified Files: src/distrib/sets/lists/xcomp: mi src/external/mit/xorg/lib/libXrandr: Makefile Log Message: libXrandr: Add missing MLINKS. To generate a diff of this commit: cvs rdiff -u -r1.231 -r1.232 src/distrib/sets/lists/xcomp/mi cvs rdiff -u -r1.6 -r1.7 src/external/mit/xorg/lib/libXrandr/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: uwe Date: Tue May 3 00:29:24 UTC 2022 Modified Files: src/distrib/sets/lists/xcomp: mi src/external/mit/xorg/lib/libXrandr: Makefile Log Message: libXrandr: Add missing MLINKS. To generate a diff of this commit: cvs rdiff -u -r1.231 -r1.232 src/distrib/sets/lists/xcomp/mi cvs rdiff -u -r1.6 -r1.7 src/external/mit/xorg/lib/libXrandr/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/sets/lists/xcomp/mi diff -u src/distrib/sets/lists/xcomp/mi:1.231 src/distrib/sets/lists/xcomp/mi:1.232 --- src/distrib/sets/lists/xcomp/mi:1.231 Sun May 1 13:45:46 2022 +++ src/distrib/sets/lists/xcomp/mi Tue May 3 00:29:23 2022 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.231 2022/05/01 13:45:46 uwe Exp $ +# $NetBSD: mi,v 1.232 2022/05/03 00:29:23 uwe Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. # @@ -2172,6 +2172,20 @@ ./usr/X11R7/man/cat3/XQueryTextExtents.0 xcomp-libX11-catman .cat,xorg ./usr/X11R7/man/cat3/XQueryTextExtents16.0 xcomp-libX11-catman .cat,xorg ./usr/X11R7/man/cat3/XQueryTree.0 xcomp-libX11-catman .cat,xorg +./usr/X11R7/man/cat3/XRRConfigCurrentConfiguration.0 xcomp-libXrandr-catman .cat,xorg +./usr/X11R7/man/cat3/XRRConfigCurrentRate.0 xcomp-libXrandr-catman .cat,xorg +./usr/X11R7/man/cat3/XRRConfigRates.0 xcomp-libXrandr-catman .cat,xorg +./usr/X11R7/man/cat3/XRRConfigRotations.0 xcomp-libXrandr-catman .cat,xorg +./usr/X11R7/man/cat3/XRRConfigSizes.0 xcomp-libXrandr-catman .cat,xorg +./usr/X11R7/man/cat3/XRRConfigTimes.0 xcomp-libXrandr-catman .cat,xorg +./usr/X11R7/man/cat3/XRRFreeScreenConfigInfo.0 xcomp-libXrandr-catman .cat,xorg +./usr/X11R7/man/cat3/XRRGetScreenInfo.0 xcomp-libXrandr-catman .cat,xorg +./usr/X11R7/man/cat3/XRRQueryExtension.0 xcomp-libXrandr-catman .cat,xorg +./usr/X11R7/man/cat3/XRRQueryVersion.0 xcomp-libXrandr-catman .cat,xorg +./usr/X11R7/man/cat3/XRRRootToScreen.0 xcomp-libXrandr-catman .cat,xorg +./usr/X11R7/man/cat3/XRRSelectInput.0 xcomp-libXrandr-catman .cat,xorg +./usr/X11R7/man/cat3/XRRSetScreenConfig.0 xcomp-libXrandr-catman .cat,xorg +./usr/X11R7/man/cat3/XRRSetScreenConfigAndRate.0 xcomp-libXrandr-catman .cat,xorg ./usr/X11R7/man/cat3/XRaiseWindow.0 xcomp-libX11-catman .cat,xorg ./usr/X11R7/man/cat3/XReadBitmapFile.0 xcomp-libX11-catman .cat,xorg ./usr/X11R7/man/cat3/XReadBitmapFileData.0 xcomp-libX11-catman .cat,xorg @@ -3593,6 +3607,20 @@ ./usr/X11R7/man/html3/XQueryTextExtents.html xcomp-libX11-htmlman html,xorg ./usr/X11R7/man/html3/XQueryTextExtents16.html xcomp-libX11-htmlman html,xorg ./usr/X11R7/man/html3/XQueryTree.html xcomp-libX11-htmlman html,xorg +./usr/X11R7/man/html3/XRRConfigCurrentConfiguration.html xcomp-libXrandr-htmlman html,xorg +./usr/X11R7/man/html3/XRRConfigCurrentRate.html xcomp-libXrandr-htmlman html,xorg +./usr/X11R7/man/html3/XRRConfigRates.html xcomp-libXrandr-htmlman html,xorg +./usr/X11R7/man/html3/XRRConfigRotations.html xcomp-libXrandr-htmlman html,xorg +./usr/X11R7/man/html3/XRRConfigSizes.html xcomp-libXrandr-htmlman html,xorg +./usr/X11R7/man/html3/XRRConfigTimes.html xcomp-libXrandr-htmlman html,xorg +./usr/X11R7/man/html3/XRRFreeScreenConfigInfo.html xcomp-libXrandr-htmlman html,xorg +./usr/X11R7/man/html3/XRRGetScreenInfo.html xcomp-libXrandr-htmlman html,xorg +./usr/X11R7/man/html3/XRRQueryExtension.html xcomp-libXrandr-htmlman html,xorg +./usr/X11R7/man/html3/XRRQueryVersion.html xcomp-libXrandr-htmlman html,xorg +./usr/X11R7/man/html3/XRRRootToScreen.html xcomp-libXrandr-htmlman html,xorg +./usr/X11R7/man/html3/XRRSelectInput.html xcomp-libXrandr-htmlman html,xorg +./usr/X11R7/man/html3/XRRSetScreenConfig.html xcomp-libXrandr-htmlman html,xorg +./usr/X11R7/man/html3/XRRSetScreenConfigAndRate.html xcomp-libXrandr-htmlman html,xorg ./usr/X11R7/man/html3/XRaiseWindow.html xcomp-libX11-htmlman html,xorg ./usr/X11R7/man/html3/XReadBitmapFile.html xcomp-libX11-htmlman html,xorg ./usr/X11R7/man/html3/XReadBitmapFileData.html xcomp-libX11-htmlman html,xorg @@ -5013,6 +5041,20 @@ ./usr/X11R7/man/man3/XQueryTextExtents.3 xcomp-libX11-man .man,xorg ./usr/X11R7/man/man3/XQueryTextExtents16.3 xcomp-libX11-man .man,xorg ./usr/X11R7/man/man3/XQueryTree.3 xcomp-libX11-man .man,xorg +./usr/X11R7/man/man3/XRRConfigCurrentConfiguration.3 xcomp-libXrandr-man .man,xorg +./usr/X11R7/man/man3/XRRConfigCurrentRate.3 xcomp-libXrandr-man .man,xorg +./usr/X11R7/man/man3/XRRConfigRates.3 xcomp-libXrandr-man .man,xorg +./usr/X11R7/man/man3/XRRConfigRotations.3 xcomp-libXrandr-man .man,xorg +./usr/X11R7/man/man3/XRRConfigSizes.3 xcomp-libXrandr-man .man,xorg +./usr/X11R7/man/man3/XRRConfigTimes.3 xcomp-libXrandr-man .man,xorg +./usr/X11R7/man/man3/XRRFreeScreenConfigInfo.3 xcomp-libXrandr-man .man,xorg +./usr/X11R7/man/man3/XRRGetScreenInfo.3 xcomp-libXrandr-man .man,xorg
CVS commit: src/sys/dev/pci
Module Name:src Committed By: gutteridge Date: Tue May 3 00:23:33 UTC 2022 Modified Files: src/sys/dev/pci: if_wm.c Log Message: if_wm.c: various spelling and grammar fixes To generate a diff of this commit: cvs rdiff -u -r1.729 -r1.730 src/sys/dev/pci/if_wm.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/dev/pci/if_wm.c diff -u src/sys/dev/pci/if_wm.c:1.729 src/sys/dev/pci/if_wm.c:1.730 --- src/sys/dev/pci/if_wm.c:1.729 Sat Feb 26 15:04:39 2022 +++ src/sys/dev/pci/if_wm.c Tue May 3 00:23:33 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: if_wm.c,v 1.729 2022/02/26 15:04:39 rillig Exp $ */ +/* $NetBSD: if_wm.c,v 1.730 2022/05/03 00:23:33 gutteridge Exp $ */ /* * Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc. @@ -82,7 +82,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.729 2022/02/26 15:04:39 rillig Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.730 2022/05/03 00:23:33 gutteridge Exp $"); #ifdef _KERNEL_OPT #include "opt_net_mpsafe.h" @@ -429,7 +429,7 @@ struct wm_txqueue { WM_Q_EVCNT_DEFINE(txq, toomanyseg) /* Pkt dropped(toomany DMA segs) */ WM_Q_EVCNT_DEFINE(txq, defrag) /* m_defrag() */ WM_Q_EVCNT_DEFINE(txq, underrun)/* Tx underrun */ - WM_Q_EVCNT_DEFINE(txq, skipcontext) /* Tx skip wring cksum context */ + WM_Q_EVCNT_DEFINE(txq, skipcontext) /* Tx skip wrong cksum context */ char txq_txseg_evcnt_names[WM_NTXSEGS][sizeof("txqXXtxsegXXX")]; struct evcnt txq_ev_txseg[WM_NTXSEGS]; /* Tx packets w/ N segments */ @@ -530,7 +530,7 @@ struct wm_softc { */ bus_dma_tag_t sc_dmat; /* bus DMA tag */ - struct ethercom sc_ethercom; /* ethernet common data */ + struct ethercom sc_ethercom; /* Ethernet common data */ struct mii_data sc_mii; /* MII/media information */ pci_chipset_tag_t sc_pc; @@ -3470,10 +3470,10 @@ wm_tick(void *arg) + CSR_READ(sc, WMREG_CEXTERR) + CSR_READ(sc, WMREG_RLEC)); /* - * WMREG_RNBC is incremented when there is no available buffers in host - * memory. It does not mean the number of dropped packet. Because - * ethernet controller can receive packets in such case if there is - * space in phy's FIFO. + * WMREG_RNBC is incremented when there are no available buffers in host + * memory. It does not mean the number of dropped packets, because an + * Ethernet controller can receive packets in such case if there is + * space in the phy's FIFO. * * If you want to know the nubmer of WMREG_RMBC, you should use such as * own EVCNT instead of if_iqdrops. @@ -5069,7 +5069,7 @@ wm_reset(struct wm_softc *sc) } if (timeout == 0) device_printf(sc->sc_dev, - "failed to disable busmastering\n"); + "failed to disable bus mastering\n"); } /* Set the completion timeout for interface */ @@ -5588,8 +5588,8 @@ wm_adjust_qnum(struct wm_softc *sc, int hw_nrxqueues = 2; break; /* - * As below ethernet controllers does not support MSI-X, - * this driver let them not use multiqueue. + * The below Ethernet controllers do not support MSI-X; + * this driver doesn't let them use multiqueue. * - WM_T_80003 * - WM_T_ICH8 * - WM_T_ICH9 @@ -5616,7 +5616,7 @@ wm_adjust_qnum(struct wm_softc *sc, int sc->sc_nqueues = hw_nqueues; /* - * As queues more then cpus cannot improve scaling, we limit + * As queues more than CPUs cannot improve scaling, we limit * the number of queues used actually. */ if (ncpu < sc->sc_nqueues) @@ -5902,12 +5902,12 @@ wm_itrs_writereg(struct wm_softc *sc, st /* * TODO - * Below dynamic calculation of itr is almost the same as linux igb, + * Below dynamic calculation of itr is almost the same as Linux igb, * however it does not fit to wm(4). So, we will have been disable AIM * until we will find appropriate calculation of itr. */ /* - * calculate interrupt interval value to be going to write register in + * Calculate interrupt interval value to be going to write register in * wm_itrs_writereg(). This function does not write ITR/EITR register. */ static void @@ -6323,7 +6323,7 @@ wm_init_locked(struct ifnet *ifp) reg &= ~CTRL_EXT_LINK_MODE_MASK; CSR_WRITE(sc, WMREG_CTRL_EXT, reg); - /* Bypass RX and TX FIFO's */ + /* Bypass RX and TX FIFOs */ wm_kmrn_writereg(sc, KUMCTRLSTA_OFFSET_FIFO_CTRL, KUMCTRLSTA_FIFO_CTRL_RX_BYPASS | KUMCTRLSTA_FIFO_CTRL_TX_BYPASS); @@ -6376,7 +6376,7 @@ wm_init_locked(struct ifnet *ifp) CSR_WRITE(sc, WMREG_CTRL_EXT, reg); /* - * Workaround issue with spurious interrupts + * Work around issue with spurious interrupts * in MSI-X mode. * At wm_initialize_hardware_bits(), sc_nintrs has not * initialized yet. So re-initialize WMREG_RFCTL here. @@ -6549,12 +6549,12 @@ wm_init_locked(struct ifnet *ifp) */ } - /* Set the VLAN ethernetype. */ + /* Set the VLAN EtherType. */ CSR_WRITE(sc,
CVS commit: src/sys/dev/pci
Module Name:src Committed By: gutteridge Date: Tue May 3 00:23:33 UTC 2022 Modified Files: src/sys/dev/pci: if_wm.c Log Message: if_wm.c: various spelling and grammar fixes To generate a diff of this commit: cvs rdiff -u -r1.729 -r1.730 src/sys/dev/pci/if_wm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man4
Module Name:src Committed By: gutteridge Date: Mon May 2 23:25:13 UTC 2022 Modified Files: src/share/man/man4: tap.4 Log Message: tap.4: trim introduction to match current reality As of 10.0, tap(4) can no longer be used as a bridge(4) endpoint, so avoid potentially confusing the reader, who'd later encounter the caveats section, noting use of vether(4) is required instead. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/share/man/man4/tap.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man4/tap.4 diff -u src/share/man/man4/tap.4:1.15 src/share/man/man4/tap.4:1.16 --- src/share/man/man4/tap.4:1.15 Sun Sep 27 19:36:54 2020 +++ src/share/man/man4/tap.4 Mon May 2 23:25:12 2022 @@ -1,4 +1,4 @@ -.\" $NetBSD: tap.4,v 1.15 2020/09/27 19:36:54 roy Exp $ +.\" $NetBSD: tap.4,v 1.16 2022/05/02 23:25:12 gutteridge Exp $ .\" .\" Copyright (c) 2004, 2005 The NetBSD Foundation. .\" All rights reserved. @@ -24,7 +24,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd September 27, 2020 +.Dd May 2, 2022 .Dt TAP 4 .Os .Sh NAME @@ -38,14 +38,10 @@ The driver allows the creation and use of virtual Ethernet devices. Those interfaces appear just as any real Ethernet NIC to the kernel, but can also be accessed by userland through a character device node in order -to read frames being sent by the system or to inject frames. -.Pp -In that respect it is very similar to what +to read frames being sent by the system or to inject frames. In that respect +it is very similar to what .Xr tun 4 -provides, but the added Ethernet layer allows easy integration with machine -emulators or virtual Ethernet networks through the use of -.Xr bridge 4 -with tunneling. +provides. .Ss INTERFACE CREATION Interfaces may be created in two different ways: using the
CVS commit: src/share/man/man4
Module Name:src Committed By: gutteridge Date: Mon May 2 23:25:13 UTC 2022 Modified Files: src/share/man/man4: tap.4 Log Message: tap.4: trim introduction to match current reality As of 10.0, tap(4) can no longer be used as a bridge(4) endpoint, so avoid potentially confusing the reader, who'd later encounter the caveats section, noting use of vether(4) is required instead. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/share/man/man4/tap.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/bsd/elftoolchain/dist/common/sys
Module Name:src Committed By: jkoshy Date: Mon May 2 20:27:43 UTC 2022 Modified Files: src/external/bsd/elftoolchain/dist/common/sys: elfconstants.m4 elfdefinitions.m4 Log Message: Catch up with Elftoolchain upstream . To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \ src/external/bsd/elftoolchain/dist/common/sys/elfconstants.m4 \ src/external/bsd/elftoolchain/dist/common/sys/elfdefinitions.m4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/elftoolchain/dist/common/sys/elfconstants.m4 diff -u src/external/bsd/elftoolchain/dist/common/sys/elfconstants.m4:1.3 src/external/bsd/elftoolchain/dist/common/sys/elfconstants.m4:1.4 --- src/external/bsd/elftoolchain/dist/common/sys/elfconstants.m4:1.3 Mon May 2 09:43:23 2022 +++ src/external/bsd/elftoolchain/dist/common/sys/elfconstants.m4 Mon May 2 20:27:43 2022 @@ -1,4 +1,4 @@ -dnl $NetBSD: elfconstants.m4,v 1.3 2022/05/02 09:43:23 jkoshy Exp $ +dnl $NetBSD: elfconstants.m4,v 1.4 2022/05/02 20:27:43 jkoshy Exp $ # Copyright (c) 2010,2021 Joseph Koshy # All rights reserved. @@ -33,7 +33,7 @@ dnl $NetBSD: elfconstants.m4,v 1.3 2022/ # - The "Linkers and Libraries Guide", from Sun Microsystems. define(`VCSID_ELFCONSTANTS_M4', - `Id: elfconstants.m4 3946 2021-04-10 21:10:42Z jkoshy') + `Id: elfconstants.m4 3980 2022-05-02 19:50:00Z jkoshy') # In the following definitions, `_' is an M4 macro that is meant to be # expanded later. Its intended usage is: @@ -594,6 +594,12 @@ _(ELFMAG2, 0x4CU) _(ELFMAG3, 0x46U) ') +# Additional ELFMAG related constants. +define(`DEFINE_ELF_MAGIC_ADDITIONAL_CONSTANTS',` +_(ELFMAG, "\177ELF") +_(SELFMAG, 4) +') + # # ELF OS ABI field. # @@ -1500,6 +1506,12 @@ _(STT_HIPROC, 15, `end of processor-specific types') ') +# Additional symbol type related constants. +define(`DEFINE_SYMBOL_TYPES_ADDITIONAL_CONSTANTS',` +_(STT_NUM, 7, + `the number of symbol types') +') + # # Symbol binding. # Index: src/external/bsd/elftoolchain/dist/common/sys/elfdefinitions.m4 diff -u src/external/bsd/elftoolchain/dist/common/sys/elfdefinitions.m4:1.3 src/external/bsd/elftoolchain/dist/common/sys/elfdefinitions.m4:1.4 --- src/external/bsd/elftoolchain/dist/common/sys/elfdefinitions.m4:1.3 Mon May 2 09:43:23 2022 +++ src/external/bsd/elftoolchain/dist/common/sys/elfdefinitions.m4 Mon May 2 20:27:43 2022 @@ -1,4 +1,4 @@ -dnl $NetBSD: elfdefinitions.m4,v 1.3 2022/05/02 09:43:23 jkoshy Exp $ +dnl $NetBSD: elfdefinitions.m4,v 1.4 2022/05/02 20:27:43 jkoshy Exp $ /*- * Copyright (c) 2010,2021 Joseph Koshy * All rights reserved. @@ -26,7 +26,7 @@ dnl $NetBSD: elfdefinitions.m4,v 1.3 202 */ divert(-1) define(`VCSID_ELFDEFINITIONS_M4', - `Id: elfdefinitions.m4 3947 2021-04-10 21:15:17Z jkoshy') + `Id: elfdefinitions.m4 3980 2022-05-02 19:50:00Z jkoshy') include(`elfconstants.m4')dnl define(`_',`ifelse(eval(len($1) <= 7),1, @@ -101,6 +101,8 @@ DEFINE_ELF_DATA_ENDIANNESSES() * These numbers are: 0x7F, 'E', 'L' and 'F'. */ DEFINE_ELF_MAGIC_VALUES() +/* Additional magic-related constants. */ +DEFINE_ELF_MAGIC_ADDITIONAL_CONSTANTS() /* * ELF OS ABI field. @@ -175,6 +177,8 @@ DEFINE_SYMBOL_BINDINGS() * Symbol types */ DEFINE_SYMBOL_TYPES() +/* Additional constants related to symbol types. */ +DEFINE_SYMBOL_TYPES_ADDITIONAL_CONSTANTS() /* * Symbol binding.
CVS commit: src/external/bsd/elftoolchain/dist/common/sys
Module Name:src Committed By: jkoshy Date: Mon May 2 20:27:43 UTC 2022 Modified Files: src/external/bsd/elftoolchain/dist/common/sys: elfconstants.m4 elfdefinitions.m4 Log Message: Catch up with Elftoolchain upstream . To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \ src/external/bsd/elftoolchain/dist/common/sys/elfconstants.m4 \ src/external/bsd/elftoolchain/dist/common/sys/elfdefinitions.m4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/cddl/osnet/dist/lib/libdtrace/common
Module Name:src Committed By: jkoshy Date: Mon May 2 20:09:48 UTC 2022 Modified Files: src/external/cddl/osnet/dist/lib/libdtrace/common: dt_link.c Log Message: Follow FreeBSD revision <0e15d9fbeba4> and simplify #ifdef'ed code. This change avoids redefining 'SHN_SUNW_IGNORE' if the symbol is already present. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 \ src/external/cddl/osnet/dist/lib/libdtrace/common/dt_link.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/cddl/osnet/dist/lib/libdtrace/common
Module Name:src Committed By: jkoshy Date: Mon May 2 20:09:48 UTC 2022 Modified Files: src/external/cddl/osnet/dist/lib/libdtrace/common: dt_link.c Log Message: Follow FreeBSD revision <0e15d9fbeba4> and simplify #ifdef'ed code. This change avoids redefining 'SHN_SUNW_IGNORE' if the symbol is already present. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 \ src/external/cddl/osnet/dist/lib/libdtrace/common/dt_link.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/cddl/osnet/dist/lib/libdtrace/common/dt_link.c diff -u src/external/cddl/osnet/dist/lib/libdtrace/common/dt_link.c:1.12 src/external/cddl/osnet/dist/lib/libdtrace/common/dt_link.c:1.13 --- src/external/cddl/osnet/dist/lib/libdtrace/common/dt_link.c:1.12 Tue Dec 3 22:10:56 2019 +++ src/external/cddl/osnet/dist/lib/libdtrace/common/dt_link.c Mon May 2 20:09:48 2022 @@ -1678,11 +1678,8 @@ process_obj(dtrace_hdl_t *dtp, const cha * already been processed by an earlier link * invocation. */ -#ifndef illumos -#define SHN_SUNW_IGNORE SHN_ABS -#endif - if (rsym.st_shndx != SHN_SUNW_IGNORE) { -rsym.st_shndx = SHN_SUNW_IGNORE; + if (rsym.st_shndx != SHN_ABS) { +rsym.st_shndx = SHN_ABS; (void) gelf_update_sym(data_sym, ndx, ); } }
CVS commit: src/tests/lib/libutil
Module Name:src Committed By: christos Date: Mon May 2 19:57:50 UTC 2022 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: explicitly set TZ=UTC so that we don't depend on the testing rig for it. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/tests/lib/libutil/t_parsedate.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tests/lib/libutil/t_parsedate.c diff -u src/tests/lib/libutil/t_parsedate.c:1.32 src/tests/lib/libutil/t_parsedate.c:1.33 --- src/tests/lib/libutil/t_parsedate.c:1.32 Sat Apr 23 09:08:49 2022 +++ src/tests/lib/libutil/t_parsedate.c Mon May 2 15:57:50 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: t_parsedate.c,v 1.32 2022/04/23 13:08:49 christos Exp $ */ +/* $NetBSD: t_parsedate.c,v 1.33 2022/05/02 19:57:50 christos Exp $ */ /*- * Copyright (c) 2010, 2015 The NetBSD Foundation, Inc. * All rights reserved. @@ -29,7 +29,7 @@ */ #include -__RCSID("$NetBSD: t_parsedate.c,v 1.32 2022/04/23 13:08:49 christos Exp $"); +__RCSID("$NetBSD: t_parsedate.c,v 1.33 2022/05/02 19:57:50 christos Exp $"); #include #include @@ -620,7 +620,8 @@ ATF_TC_BODY(gibberish, tc) ATF_TP_ADD_TCS(tp) { - unsetenv("TZ"); + setenv("TZ", "UTC", 1); + tzset(); ATF_TP_ADD_TC(tp, dates); ATF_TP_ADD_TC(tp, times); ATF_TP_ADD_TC(tp, dsttimes);
CVS commit: src/tests/lib/libutil
Module Name:src Committed By: christos Date: Mon May 2 19:57:50 UTC 2022 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: explicitly set TZ=UTC so that we don't depend on the testing rig for it. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/tests/lib/libutil/t_parsedate.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tools/elftoolchain/common
Module Name:src Committed By: jkoshy Date: Mon May 2 18:28:38 UTC 2022 Modified Files: src/tools/elftoolchain/common: Makefile Log Message: Bug fix: use the correct target path in a dependency. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tools/elftoolchain/common/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tools/elftoolchain/common
Module Name:src Committed By: jkoshy Date: Mon May 2 18:28:38 UTC 2022 Modified Files: src/tools/elftoolchain/common: Makefile Log Message: Bug fix: use the correct target path in a dependency. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tools/elftoolchain/common/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tools/elftoolchain/common/Makefile diff -u src/tools/elftoolchain/common/Makefile:1.1 src/tools/elftoolchain/common/Makefile:1.2 --- src/tools/elftoolchain/common/Makefile:1.1 Wed Apr 13 17:54:05 2022 +++ src/tools/elftoolchain/common/Makefile Mon May 2 18:28:38 2022 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2022/04/13 17:54:05 jkoshy Exp $ +# $NetBSD: Makefile,v 1.2 2022/05/02 18:28:38 jkoshy Exp $ .include @@ -23,7 +23,7 @@ ${HOST_INCSDIR}/${_f}: ${_f} install: .PHONY includes -includes: .PHONY ${HOST_INCSDIR} .WAIT ${INCS} +includes: .PHONY ${HOST_INCSDIR} .WAIT ${HOST_INCINSTFILES} all depend clean clobber:
CVS commit: src/external/mit/xorg/bin/xterm
Module Name:src Committed By: uwe Date: Mon May 2 10:50:02 UTC 2022 Modified Files: src/external/mit/xorg/bin/xterm: Makefile.inc Log Message: xterm: Try to make manpage substitutions more readable. Use X11EXTRAMANTRANSFORMS to set most of them, so that the sed(1) syntax noise doesn't drown out the keys/values. Add comments. Keep using X11EXTRAMANDEFS for __app_version__ - my make-fu is too weak to figure out how to do that properly while keeping happy multiple levels of quoting along the way. Same output is generated. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/bin/xterm/Makefile.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/mit/xorg/bin/xterm/Makefile.inc diff -u src/external/mit/xorg/bin/xterm/Makefile.inc:1.3 src/external/mit/xorg/bin/xterm/Makefile.inc:1.4 --- src/external/mit/xorg/bin/xterm/Makefile.inc:1.3 Sun May 1 23:24:34 2022 +++ src/external/mit/xorg/bin/xterm/Makefile.inc Mon May 2 10:50:02 2022 @@ -1,21 +1,34 @@ -# $NetBSD: Makefile.inc,v 1.3 2022/05/01 23:24:34 uwe Exp $ +# $NetBSD: Makefile.inc,v 1.4 2022/05/02 10:50:02 uwe Exp $ VERSION_H= ${X11SRCDIR.xterm}/version.h XTERM_DATE= ${:!${TOOL_GREP} XTERM_DATE ${VERSION_H}!:C/^[^0-9]*//} XTERM_PATCH= ${:!${TOOL_GREP} XTERM_PATCH ${VERSION_H}!:C/^[^0-9]*//} +# my make-fu is too weak to use X11EXTRAMANTRANSFORMS to set +# __app_version__ X11EXTRAMANDEFS+= \ -e 's,__app_version__,Patch \#${XTERM_PATCH},g' \ - -e 's,__app_date__,${XTERM_DATE},g' \ - -e 's,__default_termname__,xterm,g' \ - -e 's,__default_termid__,420,g' \ - -e 's,__double_buffer__,False,g' \ - -e 's,__alt_sends_esc__,False,g' \ - -e 's,__meta_sends_esc__,False,g' \ - -e 's,__backarrow_is_bs__,True,g' \ - -e 's,__backarrow_is_erase__,False,g' \ - -e 's,__delete_is_del__,Maybe,g' \ - -e 's,__initial_erase__,False,g' \ - -e 's,__default_class__,XTerm,g' \ - -e 's,__mansuffix__,1,g' \ - -e 's,__pixmapsdir__,${X11INCDIR}/X11/pixmaps,g' + -e 's,__app_date__,${XTERM_DATE},g' + + +# The standard name for this is __appmansuffix__ but xterm doesn't use it. +X11EXTRAMANTRANSFORMS += __mansuffix__ 1 + +# XXX: FIXME: we do NOT install xpm icons distributed with xterm. +# +# Also, X11INCDIR was IMO not a great choice. The fact that xpm files +# happen to also be valid C is not reason enough to declare them +# "includes" - this is not the way they are primarily used. +X11EXTRAMANTRANSFORMS += __pixmapsdir__ ${X11INCDIR}/X11/pixmaps + +# Cf. xsrc/external/mit/xterm/include/xtermcfg.h +X11EXTRAMANTRANSFORMS += __alt_sends_esc__ False +X11EXTRAMANTRANSFORMS += __backarrow_is_bs__ True +X11EXTRAMANTRANSFORMS += __backarrow_is_erase__ False +X11EXTRAMANTRANSFORMS += __default_class__ XTerm +X11EXTRAMANTRANSFORMS += __default_termid__ 420 +X11EXTRAMANTRANSFORMS += __default_termname__ xterm +X11EXTRAMANTRANSFORMS += __delete_is_del__ Maybe +X11EXTRAMANTRANSFORMS += __double_buffer__ False +X11EXTRAMANTRANSFORMS += __initial_erase__ False +X11EXTRAMANTRANSFORMS += __meta_sends_esc__ False
CVS commit: src/external/mit/xorg/bin/xterm
Module Name:src Committed By: uwe Date: Mon May 2 10:50:02 UTC 2022 Modified Files: src/external/mit/xorg/bin/xterm: Makefile.inc Log Message: xterm: Try to make manpage substitutions more readable. Use X11EXTRAMANTRANSFORMS to set most of them, so that the sed(1) syntax noise doesn't drown out the keys/values. Add comments. Keep using X11EXTRAMANDEFS for __app_version__ - my make-fu is too weak to figure out how to do that properly while keeping happy multiple levels of quoting along the way. Same output is generated. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/bin/xterm/Makefile.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/aarch64
Module Name:src Committed By: skrll Date: Mon May 2 10:13:16 UTC 2022 Modified Files: src/sys/arch/aarch64/aarch64: db_machdep.c src/sys/arch/aarch64/include: armreg.h Log Message: Only print the appropriate PAR fields for PAR.F={0,1} Group the fields in the header. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sys/arch/aarch64/aarch64/db_machdep.c cvs rdiff -u -r1.60 -r1.61 src/sys/arch/aarch64/include/armreg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/aarch64
Module Name:src Committed By: skrll Date: Mon May 2 10:13:16 UTC 2022 Modified Files: src/sys/arch/aarch64/aarch64: db_machdep.c src/sys/arch/aarch64/include: armreg.h Log Message: Only print the appropriate PAR fields for PAR.F={0,1} Group the fields in the header. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sys/arch/aarch64/aarch64/db_machdep.c cvs rdiff -u -r1.60 -r1.61 src/sys/arch/aarch64/include/armreg.h 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/aarch64/aarch64/db_machdep.c diff -u src/sys/arch/aarch64/aarch64/db_machdep.c:1.42 src/sys/arch/aarch64/aarch64/db_machdep.c:1.43 --- src/sys/arch/aarch64/aarch64/db_machdep.c:1.42 Sun Oct 31 16:23:47 2021 +++ src/sys/arch/aarch64/aarch64/db_machdep.c Mon May 2 10:13:15 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: db_machdep.c,v 1.42 2021/10/31 16:23:47 skrll Exp $ */ +/* $NetBSD: db_machdep.c,v 1.43 2022/05/02 10:13:15 skrll Exp $ */ /*- * Copyright (c) 2014 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: db_machdep.c,v 1.42 2021/10/31 16:23:47 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: db_machdep.c,v 1.43 2022/05/02 10:13:15 skrll Exp $"); #ifdef _KERNEL_OPT #include "opt_compat_netbsd32.h" @@ -456,17 +456,29 @@ db_par_print(uint64_t par, vaddr_t va) paddr_t pa = (__SHIFTOUT(par, PAR_PA) << PAR_PA_SHIFT) + (va & __BITS(PAR_PA_SHIFT - 1, 0)); - db_printf("%016"PRIx64": ATTR=0x%02lx, NS=%ld, S=%ld, SHA=%ld, PTW=%ld" - ", FST=%ld, F=%ld, PA=%016"PRIxPADDR"\n", - par, - __SHIFTOUT(par, PAR_ATTR), - __SHIFTOUT(par, PAR_NS), - __SHIFTOUT(par, PAR_S), - __SHIFTOUT(par, PAR_SHA), - __SHIFTOUT(par, PAR_PTW), - __SHIFTOUT(par, PAR_FST), - __SHIFTOUT(par, PAR_F), - pa); + if (__SHIFTOUT(par, PAR_F) == 0) { + db_printf("%016" PRIx64 + ": ATTR=0x%02" __PRIxBITS + ", NS=%" __PRIuBITS + ", SH=%" __PRIuBITS + ", PA=%016" PRIxPADDR + " (no fault)\n", + par, + __SHIFTOUT(par, PAR_ATTR), + __SHIFTOUT(par, PAR_NS), + __SHIFTOUT(par, PAR_SH), + pa); + } else { + db_printf("%016" PRIx64 + ", S=%" __PRIuBITS + ", PTW=%" __PRIuBITS + ", FST=%" __PRIuBITS + " (fault)\n", + par, + __SHIFTOUT(par, PAR_S), + __SHIFTOUT(par, PAR_PTW), + __SHIFTOUT(par, PAR_FST)); + } } void Index: src/sys/arch/aarch64/include/armreg.h diff -u src/sys/arch/aarch64/include/armreg.h:1.60 src/sys/arch/aarch64/include/armreg.h:1.61 --- src/sys/arch/aarch64/include/armreg.h:1.60 Wed Jan 5 19:53:32 2022 +++ src/sys/arch/aarch64/include/armreg.h Mon May 2 10:13:15 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: armreg.h,v 1.60 2022/01/05 19:53:32 ryo Exp $ */ +/* $NetBSD: armreg.h,v 1.61 2022/05/02 10:13:15 skrll Exp $ */ /*- * Copyright (c) 2014 The NetBSD Foundation, Inc. @@ -788,11 +788,12 @@ AARCH64REG_WRITE_INLINE(par_el1) #define PAR_PA __BITS(51,12) // F=0 physical address #define PAR_PA_SHIFT 12 #define PAR_NS __BIT(9) // F=0 non-secure +#define PAR_SH __BITS(8,7) // F=0 shareability attribute +#define PAR_SH_NONE 0 +#define PAR_SH_OUTER 2 +#define PAR_SH_INNER 3 + #define PAR_S __BIT(9) // F=1 failure stage -#define PAR_SHA __BITS(8,7) // F=0 shareability attribute -#define PAR_SHA_NONE 0 -#define PAR_SHA_OUTER 2 -#define PAR_SHA_INNER 3 #define PAR_PTW __BIT(8) // F=1 partial table walk #define PAR_FST __BITS(6,1) // F=1 fault status code #define PAR_F __BIT(0) // translation failed
CVS commit: src/external/bsd/elftoolchain/dist/common/sys
Module Name:src Committed By: jkoshy Date: Mon May 2 09:43:23 UTC 2022 Modified Files: src/external/bsd/elftoolchain/dist/common/sys: elfconstants.m4 elfdefinitions.m4 Log Message: Add NetBSD version control markers. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/external/bsd/elftoolchain/dist/common/sys/elfconstants.m4 \ src/external/bsd/elftoolchain/dist/common/sys/elfdefinitions.m4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/elftoolchain/dist/common/sys/elfconstants.m4 diff -u src/external/bsd/elftoolchain/dist/common/sys/elfconstants.m4:1.2 src/external/bsd/elftoolchain/dist/common/sys/elfconstants.m4:1.3 --- src/external/bsd/elftoolchain/dist/common/sys/elfconstants.m4:1.2 Thu Apr 29 17:40:42 2021 +++ src/external/bsd/elftoolchain/dist/common/sys/elfconstants.m4 Mon May 2 09:43:23 2022 @@ -1,3 +1,4 @@ +dnl $NetBSD: elfconstants.m4,v 1.3 2022/05/02 09:43:23 jkoshy Exp $ # Copyright (c) 2010,2021 Joseph Koshy # All rights reserved. Index: src/external/bsd/elftoolchain/dist/common/sys/elfdefinitions.m4 diff -u src/external/bsd/elftoolchain/dist/common/sys/elfdefinitions.m4:1.2 src/external/bsd/elftoolchain/dist/common/sys/elfdefinitions.m4:1.3 --- src/external/bsd/elftoolchain/dist/common/sys/elfdefinitions.m4:1.2 Thu Apr 29 17:40:42 2021 +++ src/external/bsd/elftoolchain/dist/common/sys/elfdefinitions.m4 Mon May 2 09:43:23 2022 @@ -1,3 +1,4 @@ +dnl $NetBSD: elfdefinitions.m4,v 1.3 2022/05/02 09:43:23 jkoshy Exp $ /*- * Copyright (c) 2010,2021 Joseph Koshy * All rights reserved.
CVS commit: src/external/bsd/elftoolchain/dist/common/sys
Module Name:src Committed By: jkoshy Date: Mon May 2 09:43:23 UTC 2022 Modified Files: src/external/bsd/elftoolchain/dist/common/sys: elfconstants.m4 elfdefinitions.m4 Log Message: Add NetBSD version control markers. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/external/bsd/elftoolchain/dist/common/sys/elfconstants.m4 \ src/external/bsd/elftoolchain/dist/common/sys/elfdefinitions.m4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/doc
Module Name:src Committed By: wiz Date: Mon May 2 08:12:51 UTC 2022 Modified Files: src/doc: 3RDPARTY Log Message: gdb-12.1 out To generate a diff of this commit: cvs rdiff -u -r1.1852 -r1.1853 src/doc/3RDPARTY Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/3RDPARTY diff -u src/doc/3RDPARTY:1.1852 src/doc/3RDPARTY:1.1853 --- src/doc/3RDPARTY:1.1852 Sat Apr 23 20:56:43 2022 +++ src/doc/3RDPARTY Mon May 2 08:12:51 2022 @@ -1,4 +1,4 @@ -# $NetBSD: 3RDPARTY,v 1.1852 2022/04/23 20:56:43 wiz Exp $ +# $NetBSD: 3RDPARTY,v 1.1853 2022/05/02 08:12:51 wiz Exp $ # # This file contains a list of the software that has been integrated into # NetBSD where we are not the primary maintainer. @@ -482,11 +482,11 @@ Before importing a new version of extern Package: gdb Version: 11.0.50 -Current Vers: 10.1 +Current Vers: 12.1 Maintainer: FSF Archive Site: ftp://ftp.gnu.org/gnu/gdb/ Home Page: http://www.gnu.org/software/gdb/ -Date: 2021-03-15 +Date: 2022-05-02 Mailing List: bug-...@gnu.org Responsible: christos License: GPLv3, LGPLv3.1
CVS commit: src/doc
Module Name:src Committed By: wiz Date: Mon May 2 08:12:51 UTC 2022 Modified Files: src/doc: 3RDPARTY Log Message: gdb-12.1 out To generate a diff of this commit: cvs rdiff -u -r1.1852 -r1.1853 src/doc/3RDPARTY Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.