NetBSD/src X6q0Jc6usr.bin/xlint/lint1 tree.c

   lint: remove temporary code to identify floating point bug

   On sparc64, SoftFloat 2a invoked undefined behavior, returning wrong
   results. The code added here didn't trigger, as the ATF_SH environment
   variable was not set in the real test run.

   See tests/lib/libc/t_long_double.c for more specialized tests to
   pinpoint the exact problem.
VersionDeltaFile
1.709+2-18usr.bin/xlint/lint1/tree.c
+2-181 files

NetBSD/src 937y6e0tests/lib/libc t_long_double.c

   tests/libc: clean up test for long double

   Previously, the test had invoked undefined behavior when converting long
   double to uint64_t, by using input values outside the portable range.
   Explicitly mark this part of the test and make it easy to disable.
VersionDeltaFile
1.4+22-6tests/lib/libc/t_long_double.c
+22-61 files

NetBSD/src 5RwX0lesys/arch/x68k/x68k machdep.c locore.s

   x68k_init() -> machine_init()
VersionDeltaFile
1.224+4-4sys/arch/x68k/x68k/machdep.c
1.162+2-2sys/arch/x68k/x68k/locore.s
+6-62 files

NetBSD/src zyP7PVnsys/arch/news68k/news68k machdep.c

   Use machine_init_common().
VersionDeltaFile
1.134+8-22sys/arch/news68k/news68k/machdep.c
+8-221 files

NetBSD/src e0zJ21qsys/arch/luna68k/luna68k machdep.c

   Use machine_init_common().
VersionDeltaFile
1.125+8-25sys/arch/luna68k/luna68k/machdep.c
+8-251 files

NetBSD/src WwnSkB9sys/arch/hp300/hp300 machdep.c

   Use machine_init_common().
VersionDeltaFile
1.263+9-22sys/arch/hp300/hp300/machdep.c
+9-221 files

NetBSD/src sgXScIBsys/arch/hp300/hp300 machdep.c

   Use pmap_kenter_pa() to map the boot info structure.
VersionDeltaFile
1.262+5-7sys/arch/hp300/hp300/machdep.c
+5-71 files

NetBSD/src 75gGmvNsys/arch/cesfic/cesfic machdep.c

   Use machine_init_common().
VersionDeltaFile
1.86+7-25sys/arch/cesfic/cesfic/machdep.c
+7-251 files

NetBSD/src lX3Gozdsys/arch/m68k/m68k m68k_machdep.c, sys/arch/mvme68k/mvme68k machdep.c

   machine_init_common() now does the job of loading phys mem into
   the VM manage page pool.
VersionDeltaFile
1.18+114-4sys/arch/m68k/m68k/m68k_machdep.c
1.187+2-103sys/arch/mvme68k/mvme68k/machdep.c
1.35+2-102sys/arch/virt68k/virt68k/machdep.c
1.138+12-92sys/arch/next68k/next68k/machdep.c
+130-3014 files

NetBSD/src CCeqAkYsys/arch/m68k/include m68k.h, sys/arch/m68k/m68k m68k_machdep.c

   Add a machine_init_common() routine that will be the holding tank
   for common tasks across m68k machine_init() routines.  For now, it
   only initializes the message buffer, and only on the seglist.h-using
   platforms (mvme68k, next68k, virt68k).

   Note that there will be some minor code duplication (as dead code)
   as the various platforms make the transition to using this new routine,
   but that seems preferable to large unweildy diffs across multiple platforms.
VersionDeltaFile
1.17+25-2sys/arch/m68k/m68k/m68k_machdep.c
1.137+4-12sys/arch/next68k/next68k/machdep.c
1.186+3-12sys/arch/mvme68k/mvme68k/machdep.c
1.34+3-12sys/arch/virt68k/virt68k/machdep.c
1.33+4-1sys/arch/m68k/include/m68k.h
+39-395 files

NetBSD/src g5rlQNjsys/arch/amiga/amiga machdep.c, sys/arch/atari/atari machdep.c

   Centralize the declaration of msgbufpa.  Not all m68k platforms use this,
   but it's part of forthcoming unification changes, and does no harm in
   the meantime.

   As part of this, a hook for Sun platforms (__HAVE_M68K_PRIVATE_MSGSBUF)
   is provided to handle the scenario somewhat unique to Sun2, but where
   the pattern is also present in Sun3/Sun3x -- On Sun2, PROM mappings of
   4 (2K) pages are used for the message buffer, and there is technically
   no guarantee that those pages will be physically contiguous.  Instead,
   the existing PageMap entries are fixed up during VM bootstrap to ensure
   that the permissions are correct, but the existing VA->PA mappings
   remain.

   This PageMap treatment is also done on Sun3, although since the Sun3
   page size is 8K, only one page is used.  Similarly, on Sun3x, we just
   use the first physical (8K) page and create our own mapping for it.
   However, it's easiest just to treat all the Sun platforms the same
   and embrace the lovable little oddballs that they are.
VersionDeltaFile
1.16+14-2sys/arch/m68k/m68k/m68k_machdep.c
1.136+3-4sys/arch/next68k/next68k/machdep.c
1.202+3-4sys/arch/atari/atari/machdep.c
1.185+3-4sys/arch/mvme68k/mvme68k/machdep.c
1.267+3-4sys/arch/amiga/amiga/machdep.c
1.33+3-4sys/arch/virt68k/virt68k/machdep.c
+29-221 files not shown
+31-237 files

NetBSD/src nXv0muysys/arch/cesfic/cesfic pmap_bootstrap.c, sys/arch/hp300/hp300 pmap_bootstrap.c

   Centralize the declaration of msgbufaddr for m68k platforms.
VersionDeltaFile
1.43+3-3sys/arch/cesfic/cesfic/pmap_bootstrap.c
1.70+3-3sys/arch/hp300/hp300/pmap_bootstrap.c
1.52+3-3sys/arch/news68k/news68k/pmap_bootstrap.c
1.72+3-3sys/arch/x68k/x68k/pmap_bootstrap.c
1.16+3-3sys/arch/virt68k/virt68k/pmap_bootstrap.c
1.93+3-3sys/arch/sun2/sun2/machdep.c
+18-1810 files not shown
+47-4716 files

NetBSD/src QSPkYJMsys/arch/cesfic/cesfic locore.s pmap_bootstrap.c

   More catch-up with other m68k platforms:
   - pmap_bootstrap() -> pmap_bootstrap1()
   - Pass the updated "nextpa" to machine_init(), and use it to calculate
     avail_start and avail_end there, rather than in pmap_bootstrap1().
VersionDeltaFile
1.71+16-5sys/arch/cesfic/cesfic/locore.s
1.42+4-9sys/arch/cesfic/cesfic/pmap_bootstrap.c
1.85+6-3sys/arch/cesfic/cesfic/machdep.c
+26-173 files

NetBSD/src kUXlcpYexternal/mpl/bind/dist/lib/isc jemalloc_shim.h

   PR/60150: Izumi Tsutsui: Increase alignment so that libuv can use the bottom
   3 bits.
VersionDeltaFile
1.6+3-2external/mpl/bind/dist/lib/isc/jemalloc_shim.h
+3-21 files

NetBSD/src WHvEZQMsys/arch/cesfic/cesfic machdep.c locore.s

   fic_init() -> machine_init()

   More catch-up needs to be done here.
VersionDeltaFile
1.84+5-4sys/arch/cesfic/cesfic/machdep.c
1.70+2-2sys/arch/cesfic/cesfic/locore.s
+7-62 files

NetBSD/src xVSjp4esys/arch/sun2/sun2 machdep.c pmap.c, sys/arch/sun3/sun3 machdep.c pmap.c

   Get rid of MSGBUFOFF; it's always defined as 0, and thus doesn't
   actually do anything.  Initialize msgbufaddr when the VAs are
   actually allocated.
VersionDeltaFile
1.147+2-6sys/arch/sun3/sun3x/machdep.c
1.219+2-6sys/arch/sun3/sun3/machdep.c
1.92+2-6sys/arch/sun2/sun2/machdep.c
1.183+4-3sys/arch/sun3/sun3/pmap.c
1.55+4-3sys/arch/sun2/sun2/pmap.c
1.126+4-2sys/arch/sun3/sun3x/pmap.c
+18-262 files not shown
+21-318 files

NetBSD/src E63OEHHsys/arch/rs6000/rs6000 machdep.c, sys/dev/i2c tsllux.c

   fix various typos in comments.
VersionDeltaFile
1.38+4-4sys/fs/msdosfs/msdosfs_fat.c
1.5+3-3sys/dev/i2c/tsllux.c
1.16+3-3sys/arch/rs6000/rs6000/machdep.c
1.63+3-3sys/netinet/icmp6.h
1.5+2-2sys/netinet/sctp_structs.h
1.94+2-2sys/netipsec/ipsec.h
+17-172 files not shown
+21-218 files

NetBSD/src 0qJeiWYsys/arch/aarch64/aarch64 pmap.c

   Wrap/Un-wrap UVMHIST_LOG lines. NFCI.
VersionDeltaFile
1.153+9-11sys/arch/aarch64/aarch64/pmap.c
+9-111 files

NetBSD/src kAMCNmVsys/arch/m68k/include pte_coldfire.h, sys/arch/powerpc/include/booke pte.h

   Be consistent around pte_nv_entry definition and usage.

   NFCI.
    CVS: ----------------------------------------------------------------------
VersionDeltaFile
1.85+11-9sys/uvm/pmap/pmap.c
1.3+2-2sys/arch/m68k/include/pte_coldfire.h
1.12+2-2sys/arch/powerpc/include/booke/pte.h
+15-133 files

NetBSD/src kHTRKQCusr.bin/cut cut.c

   cut.c: minor KNF and other formatting tweaks (NFCI)
VersionDeltaFile
1.33+8-10usr.bin/cut/cut.c
+8-101 files

NetBSD/src nBNwXEnsys/arch/alpha/pci ttwoga_dma.c

   s/liner/linear/ in comment.
VersionDeltaFile
1.12+3-3sys/arch/alpha/pci/ttwoga_dma.c
+3-31 files

NetBSD/src b2RX0iAsys/arch/amiga/amiga machdep.c

   Remove a global that is not, in fact, used in init_main.c, despite what
   the comment claims.
VersionDeltaFile
1.265+3-6sys/arch/amiga/amiga/machdep.c
+3-61 files

NetBSD/src LKC7MNvsys/arch/amiga/amiga machdep.c, sys/arch/atari/atari machdep.c

   Consolidate the declaration of phys_map.
VersionDeltaFile
1.264+2-4sys/arch/amiga/amiga/machdep.c
1.200+2-4sys/arch/atari/atari/machdep.c
1.83+2-4sys/arch/cesfic/cesfic/machdep.c
1.261+2-4sys/arch/hp300/hp300/machdep.c
1.124+2-4sys/arch/luna68k/luna68k/machdep.c
1.45+4-2sys/arch/m68k/m68k/vm_machdep.c
+14-229 files not shown
+32-5815 files

NetBSD/src W00wbCXlib/libc/softfloat/bits64 softfloat.c

   libc: fix undefined behavior in int64_to_float128

   When negating a signed integer, the integer must not be LLONG_MIN, as
   negating that value would not change the sign. GCC's -ftrapv mode
   detects cases like this reliably.

   In this case, on sparc64 with -O2 (but not -O0 or -O1),
   countLeadingZeros64(LLONG_MIN) returned 48 instead of the desired 0, and
   int64_to_float128(LLONG_MIN) returned -0x1p+14 instead of the desired
   -0x1p+63.

   The same pattern is used in several other conversion functions. These
   will be fixed in a follow-up commit once the lint tests for msg_380 and
   msg_381 on sparc64 work again.
VersionDeltaFile
1.21+3-3lib/libc/softfloat/bits64/softfloat.c
+3-31 files

NetBSD/src V4wnF1Husr.bin/cut cut.1

   cut.1: add cross-reference to colrm(1)
VersionDeltaFile
1.20+2-1usr.bin/cut/cut.1
+2-11 files

NetBSD/src CXae2G3sys/arch/atari/atari machdep.c, sys/arch/luna68k/luna68k machdep.c

   Consolidate the declaration of some globals.  More work to be done here.
VersionDeltaFile
1.199+3-9sys/arch/atari/atari/machdep.c
1.123+2-10sys/arch/luna68k/luna68k/machdep.c
1.145+2-9sys/arch/sun3/sun3x/machdep.c
1.217+2-9sys/arch/sun3/sun3/machdep.c
1.90+2-9sys/arch/sun2/sun2/machdep.c
1.31+2-8sys/arch/virt68k/virt68k/machdep.c
+13-549 files not shown
+35-11915 files

NetBSD/src N1eFwfLsys/arch/mvme68k/dev vme_pcc.c mainbus.c, sys/arch/mvme68k/include vmparam.h

   Align loading of physical memory with virt68k, and stop keeping two
   copies of this information (one in the phys_seg_list[] and one in
   mem_clusters[]; the latter is now gone).
VersionDeltaFile
1.182+120-68sys/arch/mvme68k/mvme68k/machdep.c
1.26+11-9sys/dev/mvme/mvmebus.c
1.28+9-8sys/arch/mvme68k/dev/vme_pcc.c
1.26+5-4sys/arch/mvme68k/dev/mainbus.c
1.36+5-4sys/arch/mvme68k/dev/pcc.c
1.42+4-1sys/arch/mvme68k/include/vmparam.h
+154-946 files

NetBSD/src TNbd6Qcsys/arch/m68k/include linux_bootinfo.h, sys/arch/m68k/m68k linux_bootinfo.c

   Use the data structure from <m68k/seglist.h> to describe the memory
   configuration extracted from linux bootinfo.  Align virt68k's memory
   loading with mvme68k (which will also get some changes in a follow-on
   commit).  This will be used as a template to eventually merge this
   code for all m68k platforms.
VersionDeltaFile
1.30+137-47sys/arch/virt68k/virt68k/machdep.c
1.6+18-45sys/arch/m68k/m68k/linux_bootinfo.c
1.4+4-4sys/arch/m68k/include/linux_bootinfo.h
+159-963 files

NetBSD/src 48fG09husr.bin/cksum cksum.c

   PR 60154: do not print arbitrary control characters when printing
   file names while checking hashes with the -c option.
VersionDeltaFile
1.53+15-4usr.bin/cksum/cksum.c
+15-41 files

NetBSD/src dmFUVhXsys/arch/m68k/include seglist.h, sys/arch/mvme68k/mvme68k machdep.c genassym.cf

   Move seglist.h into a common m68k location.
VersionDeltaFile
1.1+47-0sys/arch/m68k/include/seglist.h
1.133+3-3sys/arch/next68k/next68k/machdep.c
1.33+3-3sys/arch/next68k/next68k/nextrom.c
1.181+3-3sys/arch/mvme68k/mvme68k/machdep.c
1.53+2-3sys/arch/mvme68k/mvme68k/genassym.cf
1.9+1-1sys/arch/next68k/next68k/seglist.h
+59-131 files not shown
+60-147 files