NetBSD/src KYfq5ylusr.bin/elf2ecoff elf2ecoff.c

   elf2ecoff: fix PR port-pmax/59234: "buffer overflow detected" problem.

   Explicitly calculate a size of the target ECOFF string table before
   copying symbol strings, as suggested by mlelstv@.

   Tested "build.sh -U -m pmax release" on ubuntu 24.04.2:
   ---
   % ./nbmips-elf2ecoff netboot.elf netboot
     combining PH 0 type 1 flags 0x7 with data, ndata = 73568, nbss =1392
     skipping PH 1 type 0x70000000 flags 0x4
     skipping PH 2 type 0x70000003 flags 0x4
   wrote 20 byte file header.
   wrote 56 byte a.out header.
   wrote 240 bytes of section headers.
   wrote 4 byte pad.
   writing 73568 bytes...
   writing syms at offset 0x12100
   2605 (0xa2d) bytes ELF string table
   2705 (0xa91) bytes required for ECOFF string table

    [6 lines not shown]
VersionDeltaFile
1.37+58-18usr.bin/elf2ecoff/elf2ecoff.c
+58-181 files

NetBSD/src UkHUR77lib/libc/sys mkdir.2

   Note that mkdir(2) may fail with EMLINK if the creation would lead to
   too many hardlinks to the parent directory (i.e., too many subdirs).
VersionDeltaFile
1.33+5-2lib/libc/sys/mkdir.2
+5-21 files

NetBSD/src lRe1zOvdoc CHANGES-11.0

   tickets 29-31
VersionDeltaFile
1.1.2.17+22-1doc/CHANGES-11.0
+22-11 files

NetBSD/src SQANqhjsys/dev/fdt fdt_platform.c

   Pull up following revision(s) (requested by rin in ticket #31):

        sys/dev/fdt/fdt_platform.c: revision 1.3

   G/C dummy FDT_PLATFORM to fix NULL-dereference crash during boot
   observed for official test suite runs for aarch64 and riscv64.
   This became apparent with link-order change due to FDT refactoring.
   Need to pull up to netbsd-11.
VersionDeltaFile
1.1.8.1+2-5sys/dev/fdt/fdt_platform.c
+2-51 files

NetBSD/src sguQIHBsys/dev/usb xhci.c

   Pull up following revision(s) (requested by nat in ticket #30):

        sys/dev/usb/xhci.c: revision 1.190

   Handle special case of USBD_FORCE_SHORT_XFER.
   This fixes devices such as urtwn(4) connected to an xhci port.
   It works by sending a zero length transfer at the end of the data transfer
   for the above mentioned flag.
   Similar artwork in this space already exists for ohci/uhci/ehci.
   OK jkallsch@.
VersionDeltaFile
1.188.2.1+9-2sys/dev/usb/xhci.c
+9-21 files

NetBSD/src G8RzVVusys/dev/usb if_urtwn.c

   Pull up following revision(s) (requested by nat in ticket #29):

        sys/dev/usb/if_urtwn.c: revisions 1.113-1.117

   Set the pipe index on usb xfer creation.
   --
   Plug an xfer leak in the tx error path.
   --
   Use the right packet spacing for the 8192EU.
   From OpenBSD and confrimed by my own analysis.
   --
   Safety first!
   Ensure that the receive packet processing does not exceed beyond xfer length.
   --
   Fix typo.
   Found by Harold Gutch (hgutch@).
VersionDeltaFile
1.112.2.1+13-7sys/dev/usb/if_urtwn.c
+13-71 files

NetBSD/src JktgqiJsys/dev/i2c scmdi2c.c, sys/dev/spi scmdspi.c

   Support direct configuration via device tree.
VersionDeltaFile
1.6+13-7sys/dev/spi/scmdspi.c
1.3+10-4sys/dev/i2c/scmdi2c.c
+23-112 files

NetBSD/src NslZwUEexternal/gpl3/gcc.old/dist/libgcc/config/m68k fpgnulib.c, external/gpl3/gcc.old/lib/libgcc Makefile.inc

   Make gcc.old on par with gcc.

   This brings recent m68k softfloat changes into gcc.old that were commited
   just before gcc was moved.
VersionDeltaFile
1.7+21-16external/gpl3/gcc.old/dist/libgcc/config/m68k/fpgnulib.c
1.17+29-1external/gpl3/gcc.old/lib/libgcc/Makefile.inc
+50-172 files

NetBSD/src W2fQiWNsys/dev/spi bmx280thpspi.c

   Lip-service to direct configuration.  More work here is needed to conform
   to the device tree bindings.
VersionDeltaFile
1.4+33-5sys/dev/spi/bmx280thpspi.c
+33-51 files

NetBSD/src SEnXM6jsys/dev/i2c bmx280thpi2c.c

   Lip-service to direct configuration.  More work here is needed to conform
   to the device tree bindings.
VersionDeltaFile
1.2+32-4sys/dev/i2c/bmx280thpi2c.c
+32-41 files

NetBSD/src EXEhrelsys/dev/spi mcp23xxxgpio_spi.c

   Enable direct configuration via the device tree.
VersionDeltaFile
1.7+78-33sys/dev/spi/mcp23xxxgpio_spi.c
+78-331 files

NetBSD/src jeEDYzgexternal/gpl3/gcc/dist/libgcc/config/m68k fpgnulib.c

   Remove the remainer of magic constants for gcc_s softfloat(m68k).

   Addresses PR/59616.
VersionDeltaFile
1.6+4-5external/gpl3/gcc/dist/libgcc/config/m68k/fpgnulib.c
+4-51 files

NetBSD/src rLNxrLXexternal/gpl3/gcc/dist/libgcc/config/m68k fpgnulib.c

   Match against all instances of NaN.

   Use no magic numbers in comparisions.

   Addresses PR/59616.
VersionDeltaFile
1.5+11-11external/gpl3/gcc/dist/libgcc/config/m68k/fpgnulib.c
+11-111 files

NetBSD/src F90OZxMsys/dev/spi tmp121.c

   Support direct configuration.
VersionDeltaFile
1.10+30-2sys/dev/spi/tmp121.c
+30-21 files

NetBSD/src WGzgQt7sys/dev/spi mcp3k.c files.spi

   If using FDT, get Vref from the device tree per the documented bindings
   for this device.
VersionDeltaFile
1.8+78-5sys/dev/spi/mcp3k.c
1.12+2-2sys/dev/spi/files.spi
+80-72 files

NetBSD/src DjPpGi0sys/dev/spi mcp3k.c

   Support direct configuration.
VersionDeltaFile
1.7+138-89sys/dev/spi/mcp3k.c
+138-891 files

NetBSD/src LxISaS3sys/dev/spi mcp23xxxgpio_spi.c mcp48x1.c

   Use SPI_MATCH_DEFAULT rather than hard-coding 1.
VersionDeltaFile
1.6+3-6sys/dev/spi/mcp23xxxgpio_spi.c
1.5+3-6sys/dev/spi/mcp48x1.c
1.3+3-3sys/dev/spi/bmx280thpspi.c
1.9+3-3sys/dev/spi/tmp121.c
+12-184 files

NetBSD/src sCTpNwCsys/dev/spi oj6sh.c m25p.c

   Use spi_use_direct_match().
VersionDeltaFile
1.13+8-6sys/dev/spi/oj6sh.c
1.22+10-3sys/dev/spi/m25p.c
1.17+9-3sys/dev/spi/ssdfb_spi.c
+27-123 files

NetBSD/src ckrHwDhsys/dev/spi spi.c spivar.h

   Introduce spi_use_direct_match() which, like its i2c cousin, informs
   the driver if a direct config match is in play, allowing the driver
   more easily apply direct vs indirect config match logic.
VersionDeltaFile
1.32+27-7sys/dev/spi/spi.c
1.21+14-1sys/dev/spi/spivar.h
+41-82 files

NetBSD/src ztxsd0ptests/lib/libm Makefile

   Opps...Fix build.
VersionDeltaFile
1.53+2-1tests/lib/libm/Makefile
+2-11 files

NetBSD/src UtiZmHcdoc HACKS, tests/lib/libm Makefile

   Fix segfaults of libm tests noticable on m68k.

   Also document it in doc/HACKS.
VersionDeltaFile
1.256+12-1doc/HACKS
1.52+5-1tests/lib/libm/Makefile
+17-22 files

NetBSD/src Z3dhNiUsys/dev/spi mcp3k.c

   - Better validation of user-specified model via config file flags.
   - Store a pointer to the model data, not an index into the model data table.

   NFC.
VersionDeltaFile
1.6+37-18sys/dev/spi/mcp3k.c
+37-181 files

NetBSD/src g6jHMSDdoc CHANGES

   Mention m68k softfloat is now libc/softfloat.
VersionDeltaFile
1.3189+2-1doc/CHANGES
+2-11 files

NetBSD/src PeHyZnSbin/sh option.list

   PR bin/59646 option.list wsp consistency

   Be consistent with use of tab/space in fields used as
   sort keys, so versions of sort which might not behave
   exactly as we expect should still produce the same results.

   XXX pullup -9 -10 -11
VersionDeltaFile
1.12+5-3bin/sh/option.list
+5-31 files

NetBSD/src rdo5rcplib/libc/softfloat fpgetmask.c

   Fix build for gcc_s softfloat (m68k).

   Now that almost all of libc/softfloat is not build when setting
   LIBCSOFTFLOAT=no for m68k it was necessary to define missing variables.

   Adresses PR/59393.
VersionDeltaFile
1.5+8-2lib/libc/softfloat/fpgetmask.c
+8-21 files

NetBSD/src yZolz5lexternal/gpl3/gcc/lib/libgcc Makefile.inc

   Exclude libgcc_s softfloat functions (m68k).

   This is for when builing with libc/softfloat (the default).

   Addresses PR/59393.
VersionDeltaFile
1.55+25-1external/gpl3/gcc/lib/libgcc/Makefile.inc
+25-11 files

NetBSD/src YV26t9eexternal/gpl3/gcc/dist/libgcc/config/m68k fpgnulib.c, lib/libc/arch/m68k Makefile.inc

   Switch over m68k soffloat build to libc/softfloat.

   m68k would previously use softfloat functions contained in libgcc_s.

   This change aligns m68k with other platforms built with softfloat.

   It is still possible to build the gcc_s softfloat impementation by setting
   MKSOFFTFLOAT=yes MKLIBCSOFTFLOAT=no

   Addresses PR/59393.
VersionDeltaFile
1.1437+11-1share/mk/bsd.own.mk
1.19+10-2lib/libc/arch/m68k/Makefile.inc
1.1+10-0lib/libc/softfloat/Makefile.fenv.inc
1.55+6-3lib/libc/compiler_rt/Makefile.inc
1.39+5-3lib/libc/arch/m68k/gen/Makefile.inc
1.4+6-0external/gpl3/gcc/dist/libgcc/config/m68k/fpgnulib.c
+48-93 files not shown
+58-149 files

NetBSD/src 6cbpZZzsys/arch/arm/broadcom files.bcm2835

   Put the fdt_spi attribute on bcmspi @ fdt.

   Thx to Andrius V for pointing out the oversight.
VersionDeltaFile
1.45+2-2sys/arch/arm/broadcom/files.bcm2835
+2-21 files

NetBSD/src vfnBI7Bsys/dev/spi spi.c

   In the direct config case, use the correct spi_handle for the child
   device (index the array using the slave #, not the child_devices array
   index).
VersionDeltaFile
1.31+3-3sys/dev/spi/spi.c
+3-31 files

NetBSD/src 8eep2eRsys/dev/spi ssdfb_spi.c spi.c

   Don't pass a "cookie" in the attach args to SPI devices.  Instead,
   properly initialize the child device's device handle.  G/C unused
   fields in spi_attach_args.
VersionDeltaFile
1.16+26-18sys/dev/spi/ssdfb_spi.c
1.30+20-6sys/dev/spi/spi.c
1.20+1-4sys/dev/spi/spivar.h
+47-283 files