Searched +hist:1.45 +hist:4.1 (Results 1 - 25 of 83) sorted by relevance

1234

/src/sys/dev/usb/
H A Duvisor.c1.45 Fri Dec 23 00:51:49 GMT 2011 jakllsch branches: 1.45.6; 1.45.22; 1.45.24; 1.45.28;
Revert previous due to active usbmp branch(es).
1.45 Fri Dec 23 00:51:49 GMT 2011 jakllsch branches: 1.45.6; 1.45.22; 1.45.24; 1.45.28;
Revert previous due to active usbmp branch(es).
1.45 Fri Dec 23 00:51:49 GMT 2011 jakllsch branches: 1.45.6; 1.45.22; 1.45.24; 1.45.28;
Revert previous due to active usbmp branch(es).
1.45 Fri Dec 23 00:51:49 GMT 2011 jakllsch branches: 1.45.6; 1.45.22; 1.45.24; 1.45.28;
Revert previous due to active usbmp branch(es).
1.45 Fri Dec 23 00:51:49 GMT 2011 jakllsch branches: 1.45.6; 1.45.22; 1.45.24; 1.45.28;
Revert previous due to active usbmp branch(es).
1.15 Sun Jun 16 15:01:31 GMT 2002 augustss Match Sony Clie 4.1.
/src/sys/dev/pci/
H A Dif_tlp_pci.c1.45 Mon Jul 17 18:12:00 GMT 2000 tron Don't make assumptions of the actual value of PCI_PMCSR_STATE_D0.
Problem noted by John Hawkinson.
1.32 Wed Jan 26 16:51:11 GMT 2000 thorpej Give the ISV filter a chance to verify 21143 pass 4.1 SROMs before running
them through the quirk table.
1.31 Wed Jan 26 15:50:52 GMT 2000 thorpej Additional hackery for the Cobalt interfaces. Even though these are
pass 4.1 21143s, they have a 128-byte SROM, and thus use a different
SROM address size than all other pass 4.1 21143s.

A plea to hardware designers -- *please* read application notes for
the components you're using before putting your hardware together. Thanks.
1.31 Wed Jan 26 15:50:52 GMT 2000 thorpej Additional hackery for the Cobalt interfaces. Even though these are
pass 4.1 21143s, they have a 128-byte SROM, and thus use a different
SROM address size than all other pass 4.1 21143s.

A plea to hardware designers -- *please* read application notes for
the components you're using before putting your hardware together. Thanks.
1.28 Tue Jan 25 03:23:56 GMT 2000 thorpej Handle Cobalt Networks interfaces, which are 21143 pass 4.1 devices
with a simple (MAC address only) SROM format.

From Soren S. Jorvang <soren@wheel.dk>
1.24 Tue Dec 07 07:20:17 GMT 1999 thorpej If, on the 21143, we find that we don't have an ISV SROM, try reading
it again, with 8 address bits. 21143 Pass 4.1 has a larger SROM,
for storing the CIS when used in a CardBus application.
H A Dcmpci.c1.45 Mon Jan 30 19:41:18 GMT 2012 drochner branches: 1.45.6;
Use pci_aprint_devinfo(9) instead of pci_devinfo+aprint_{normal,naive}
where it looks straightforward, and pci_aprint_devinfo_fancy in a few
others where drivers want to supply their own device names instead
of the pcidevs generated one. More complicated cases, where names
are composed at runtime, are left alone for now. It certainly makes
sense to simplify the drivers here rather than inventing a catch-all API.
This should serve as as example for new drivers, and also ensure
consistent output in the AB_QUIET ("boot -q") case. Also, it avoids
excessive stack usage where drivers attach child devices because the
buffer for the device name is not kept on the local stack anymore.
1.45 Mon Jan 30 19:41:18 GMT 2012 drochner branches: 1.45.6;
Use pci_aprint_devinfo(9) instead of pci_devinfo+aprint_{normal,naive}
where it looks straightforward, and pci_aprint_devinfo_fancy in a few
others where drivers want to supply their own device names instead
of the pcidevs generated one. More complicated cases, where names
are composed at runtime, are left alone for now. It certainly makes
sense to simplify the drivers here rather than inventing a catch-all API.
This should serve as as example for new drivers, and also ensure
consistent output in the AB_QUIET ("boot -q") case. Also, it avoids
excessive stack usage where drivers attach child devices because the
buffer for the device name is not kept on the local stack anymore.
1.31 Thu May 11 23:54:39 GMT 2006 mrg quell GCC 4.1 uninitialised variable warnings.
H A Dvirtio_pci.c1.45 Tue Jun 25 14:21:45 GMT 2024 riastradh virtio_pci.c: Nix trailing whitespace.
1.36 Thu Mar 17 23:05:01 GMT 2022 uwe virtio_pci_bus_space_write_8: don't use bus_space_write_8.

The standard says:

4.1.3.1 Driver Requirements: PCI Device Layout

For device configuration access, the driver MUST use ... 32-bit
wide and aligned accesses for ... 64-bit wide fields. For 64-bit
fields, the driver MAY access each of the high and low 32-bit parts
of the field independently.

NB: "MAY" in this text refers to "independently" (i.e. the order of
accesses) not "32-bit" (which is restricted by the earlier "MUST").

Note also that virtio_{read,write}_device_config_8 in virtio.c already
uses two 32-bit accesses.
/src/lib/libutil/
H A Dpasswd.c1.52 Mon Jun 25 22:32:47 GMT 2012 abs branches: 1.52.24; 1.52.30;
Update old-style definitions to ANSI, remove a couple of register
definitions along the way. Fixed gcc 4.1 build (thank you vax)
1.45 Wed Dec 20 16:47:13 GMT 2006 christos From Anon Ymous:
- add __unused
- remove __GNUC__ hack
/src/sys/miscfs/procfs/
H A Dprocfs_linux.c1.61 Sun Sep 04 17:32:10 GMT 2011 jmcneill branches: 1.61.2; 1.61.6;
PR# kern/45021: Please support /emul/linux/proc/version

Add /proc/version for procfs with -o linux. The version reported depends
on the emulation type of the calling process:

$ cat /proc/version
NetBSD version 5.99.55 (netbsd@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) NetBSD 5.99.55 (GENERIC) #39: Sun Sep 4 09:10:05 EDT 2011

$ /emul/linux/bin/cat /proc/version
Linux version 2.6.18 (linux@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010

$ /emul/linux32/bin/cat /proc/version
Linux version 2.6.18 (linux32@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010
1.61 Sun Sep 04 17:32:10 GMT 2011 jmcneill branches: 1.61.2; 1.61.6;
PR# kern/45021: Please support /emul/linux/proc/version

Add /proc/version for procfs with -o linux. The version reported depends
on the emulation type of the calling process:

$ cat /proc/version
NetBSD version 5.99.55 (netbsd@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) NetBSD 5.99.55 (GENERIC) #39: Sun Sep 4 09:10:05 EDT 2011

$ /emul/linux/bin/cat /proc/version
Linux version 2.6.18 (linux@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010

$ /emul/linux32/bin/cat /proc/version
Linux version 2.6.18 (linux32@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010
1.61 Sun Sep 04 17:32:10 GMT 2011 jmcneill branches: 1.61.2; 1.61.6;
PR# kern/45021: Please support /emul/linux/proc/version

Add /proc/version for procfs with -o linux. The version reported depends
on the emulation type of the calling process:

$ cat /proc/version
NetBSD version 5.99.55 (netbsd@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) NetBSD 5.99.55 (GENERIC) #39: Sun Sep 4 09:10:05 EDT 2011

$ /emul/linux/bin/cat /proc/version
Linux version 2.6.18 (linux@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010

$ /emul/linux32/bin/cat /proc/version
Linux version 2.6.18 (linux32@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010
1.45 Mon Nov 12 14:11:47 GMT 2007 ad branches: 1.45.2; 1.45.6;
Revision 1.42 was lost. Pointed out by Nicolas Joly:

This was using mutex_exit where mutex_enter was required.
1.45 Mon Nov 12 14:11:47 GMT 2007 ad branches: 1.45.2; 1.45.6;
Revision 1.42 was lost. Pointed out by Nicolas Joly:

This was using mutex_exit where mutex_enter was required.
1.45 Mon Nov 12 14:11:47 GMT 2007 ad branches: 1.45.2; 1.45.6;
Revision 1.42 was lost. Pointed out by Nicolas Joly:

This was using mutex_exit where mutex_enter was required.
H A Dprocfs.h1.66 Sun Sep 04 17:32:10 GMT 2011 jmcneill PR# kern/45021: Please support /emul/linux/proc/version

Add /proc/version for procfs with -o linux. The version reported depends
on the emulation type of the calling process:

$ cat /proc/version
NetBSD version 5.99.55 (netbsd@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) NetBSD 5.99.55 (GENERIC) #39: Sun Sep 4 09:10:05 EDT 2011

$ /emul/linux/bin/cat /proc/version
Linux version 2.6.18 (linux@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010

$ /emul/linux32/bin/cat /proc/version
Linux version 2.6.18 (linux32@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010
1.66 Sun Sep 04 17:32:10 GMT 2011 jmcneill PR# kern/45021: Please support /emul/linux/proc/version

Add /proc/version for procfs with -o linux. The version reported depends
on the emulation type of the calling process:

$ cat /proc/version
NetBSD version 5.99.55 (netbsd@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) NetBSD 5.99.55 (GENERIC) #39: Sun Sep 4 09:10:05 EDT 2011

$ /emul/linux/bin/cat /proc/version
Linux version 2.6.18 (linux@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010

$ /emul/linux32/bin/cat /proc/version
Linux version 2.6.18 (linux32@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010
1.66 Sun Sep 04 17:32:10 GMT 2011 jmcneill PR# kern/45021: Please support /emul/linux/proc/version

Add /proc/version for procfs with -o linux. The version reported depends
on the emulation type of the calling process:

$ cat /proc/version
NetBSD version 5.99.55 (netbsd@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) NetBSD 5.99.55 (GENERIC) #39: Sun Sep 4 09:10:05 EDT 2011

$ /emul/linux/bin/cat /proc/version
Linux version 2.6.18 (linux@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010

$ /emul/linux32/bin/cat /proc/version
Linux version 2.6.18 (linux32@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010
1.45 Sat Jun 28 14:22:04 GMT 2003 darrenr Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V
H A Dprocfs_subr.c1.100 Sun Sep 04 17:32:10 GMT 2011 jmcneill branches: 1.100.2; 1.100.6;
PR# kern/45021: Please support /emul/linux/proc/version

Add /proc/version for procfs with -o linux. The version reported depends
on the emulation type of the calling process:

$ cat /proc/version
NetBSD version 5.99.55 (netbsd@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) NetBSD 5.99.55 (GENERIC) #39: Sun Sep 4 09:10:05 EDT 2011

$ /emul/linux/bin/cat /proc/version
Linux version 2.6.18 (linux@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010

$ /emul/linux32/bin/cat /proc/version
Linux version 2.6.18 (linux32@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010
1.100 Sun Sep 04 17:32:10 GMT 2011 jmcneill branches: 1.100.2; 1.100.6;
PR# kern/45021: Please support /emul/linux/proc/version

Add /proc/version for procfs with -o linux. The version reported depends
on the emulation type of the calling process:

$ cat /proc/version
NetBSD version 5.99.55 (netbsd@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) NetBSD 5.99.55 (GENERIC) #39: Sun Sep 4 09:10:05 EDT 2011

$ /emul/linux/bin/cat /proc/version
Linux version 2.6.18 (linux@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010

$ /emul/linux32/bin/cat /proc/version
Linux version 2.6.18 (linux32@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010
1.100 Sun Sep 04 17:32:10 GMT 2011 jmcneill branches: 1.100.2; 1.100.6;
PR# kern/45021: Please support /emul/linux/proc/version

Add /proc/version for procfs with -o linux. The version reported depends
on the emulation type of the calling process:

$ cat /proc/version
NetBSD version 5.99.55 (netbsd@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) NetBSD 5.99.55 (GENERIC) #39: Sun Sep 4 09:10:05 EDT 2011

$ /emul/linux/bin/cat /proc/version
Linux version 2.6.18 (linux@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010

$ /emul/linux32/bin/cat /proc/version
Linux version 2.6.18 (linux32@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010
1.45 Mon Feb 03 22:29:07 GMT 2003 jdolecek don't bother special-casing DTYPE_KQUEUE/DTYPE_MISC nor panic for unknown
descriptors; just return with EOPNOTSUPP for any unsupported descriptor type
1.100 Sun Sep 04 17:32:10 GMT 2011 jmcneill branches: 1.100.2; 1.100.6;
PR# kern/45021: Please support /emul/linux/proc/version

Add /proc/version for procfs with -o linux. The version reported depends
on the emulation type of the calling process:

$ cat /proc/version
NetBSD version 5.99.55 (netbsd@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) NetBSD 5.99.55 (GENERIC) #39: Sun Sep 4 09:10:05 EDT 2011

$ /emul/linux/bin/cat /proc/version
Linux version 2.6.18 (linux@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010

$ /emul/linux32/bin/cat /proc/version
Linux version 2.6.18 (linux32@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010
1.100 Sun Sep 04 17:32:10 GMT 2011 jmcneill branches: 1.100.2; 1.100.6;
PR# kern/45021: Please support /emul/linux/proc/version

Add /proc/version for procfs with -o linux. The version reported depends
on the emulation type of the calling process:

$ cat /proc/version
NetBSD version 5.99.55 (netbsd@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) NetBSD 5.99.55 (GENERIC) #39: Sun Sep 4 09:10:05 EDT 2011

$ /emul/linux/bin/cat /proc/version
Linux version 2.6.18 (linux@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010

$ /emul/linux32/bin/cat /proc/version
Linux version 2.6.18 (linux32@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010
1.100 Sun Sep 04 17:32:10 GMT 2011 jmcneill branches: 1.100.2; 1.100.6;
PR# kern/45021: Please support /emul/linux/proc/version

Add /proc/version for procfs with -o linux. The version reported depends
on the emulation type of the calling process:

$ cat /proc/version
NetBSD version 5.99.55 (netbsd@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) NetBSD 5.99.55 (GENERIC) #39: Sun Sep 4 09:10:05 EDT 2011

$ /emul/linux/bin/cat /proc/version
Linux version 2.6.18 (linux@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010

$ /emul/linux32/bin/cat /proc/version
Linux version 2.6.18 (linux32@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010
1.45 Mon Feb 03 22:29:07 GMT 2003 jdolecek don't bother special-casing DTYPE_KQUEUE/DTYPE_MISC nor panic for unknown
descriptors; just return with EOPNOTSUPP for any unsupported descriptor type
/src/distrib/sets/lists/comp/
H A Dad.powerpc1.80 Mon Aug 10 02:44:37 GMT 2015 mrg obsolete and clean up gcc=3 (3.3), gcc=4 (4.1), and gcc=45 (4.5) sets.
1.57 Mon Aug 15 15:14:00 GMT 2011 wiz Mark a few gcc-4.1 entries as obsolete with gcc-4.5.
1.48 Fri Apr 15 13:42:22 GMT 2011 joerg Move the headers for compiler and platform specific intrinsincs from
/usr/include to /usr/include/gcc-4.1.
1.45 Fri Aug 22 13:42:19 GMT 2008 lukem branches: 1.45.12;
Add a bunch of .debug entries, determined by inspecting the equivalent
comp lists.
Inspired by PR 39370
1.45 Fri Aug 22 13:42:19 GMT 2008 lukem branches: 1.45.12;
Add a bunch of .debug entries, determined by inspecting the equivalent
comp lists.
Inspired by PR 39370
1.80 Mon Aug 10 02:44:37 GMT 2015 mrg obsolete and clean up gcc=3 (3.3), gcc=4 (4.1), and gcc=45 (4.5) sets.
1.57 Mon Aug 15 15:14:00 GMT 2011 wiz Mark a few gcc-4.1 entries as obsolete with gcc-4.5.
1.48 Fri Apr 15 13:42:22 GMT 2011 joerg Move the headers for compiler and platform specific intrinsincs from
/usr/include to /usr/include/gcc-4.1.
1.45 Fri Aug 22 13:42:19 GMT 2008 lukem branches: 1.45.12;
Add a bunch of .debug entries, determined by inspecting the equivalent
comp lists.
Inspired by PR 39370
1.45 Fri Aug 22 13:42:19 GMT 2008 lukem branches: 1.45.12;
Add a bunch of .debug entries, determined by inspecting the equivalent
comp lists.
Inspired by PR 39370
H A Dad.m68k1.50 Mon Aug 10 02:44:37 GMT 2015 mrg obsolete and clean up gcc=3 (3.3), gcc=4 (4.1), and gcc=45 (4.5) sets.
1.45 Sun Jul 17 20:54:30 GMT 2011 joerg branches: 1.45.2; 1.45.8;
Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
1.45 Sun Jul 17 20:54:30 GMT 2011 joerg branches: 1.45.2; 1.45.8;
Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
1.45 Sun Jul 17 20:54:30 GMT 2011 joerg branches: 1.45.2; 1.45.8;
Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
1.50 Mon Aug 10 02:44:37 GMT 2015 mrg obsolete and clean up gcc=3 (3.3), gcc=4 (4.1), and gcc=45 (4.5) sets.
1.45 Sun Jul 17 20:54:30 GMT 2011 joerg branches: 1.45.2; 1.45.8;
Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
1.45 Sun Jul 17 20:54:30 GMT 2011 joerg branches: 1.45.2; 1.45.8;
Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
1.45 Sun Jul 17 20:54:30 GMT 2011 joerg branches: 1.45.2; 1.45.8;
Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
H A Dmd.vax1.45 Fri Feb 02 01:02:41 GMT 2018 mrg convert HAVE_GCC handling to modern GCC release numbering:
- HAVE_GCC=5 is now the default (vs. HAVE_GCC=53 we've been using for
GCC 5.4 and GCC 5.5.)
- remove some more GCC 4.8 code. we don't support GCC 4 here.
- adjust set lists to gcc=5 from gcc=53.

add some basic HAVE_GCC=6 handling (totally unused so far.)
1.41 Mon Aug 10 02:44:37 GMT 2015 mrg obsolete and clean up gcc=3 (3.3), gcc=4 (4.1), and gcc=45 (4.5) sets.
1.45 Fri Feb 02 01:02:41 GMT 2018 mrg convert HAVE_GCC handling to modern GCC release numbering:
- HAVE_GCC=5 is now the default (vs. HAVE_GCC=53 we've been using for
GCC 5.4 and GCC 5.5.)
- remove some more GCC 4.8 code. we don't support GCC 4 here.
- adjust set lists to gcc=5 from gcc=53.

add some basic HAVE_GCC=6 handling (totally unused so far.)
1.41 Mon Aug 10 02:44:37 GMT 2015 mrg obsolete and clean up gcc=3 (3.3), gcc=4 (4.1), and gcc=45 (4.5) sets.
H A Dad.sh31.45 Sun Sep 06 10:54:26 GMT 2020 mrg mostly support GCC 9 builds. some what tested with GCC 9 but
tested to not break GCC 8 builds for x86, arm*, vax, and sparc*.
1.30 Mon Aug 10 02:44:37 GMT 2015 mrg obsolete and clean up gcc=3 (3.3), gcc=4 (4.1), and gcc=45 (4.5) sets.
1.45 Sun Sep 06 10:54:26 GMT 2020 mrg mostly support GCC 9 builds. some what tested with GCC 9 but
tested to not break GCC 8 builds for x86, arm*, vax, and sparc*.
1.30 Mon Aug 10 02:44:37 GMT 2015 mrg obsolete and clean up gcc=3 (3.3), gcc=4 (4.1), and gcc=45 (4.5) sets.
/src/distrib/notes/macppc/
H A Dhardware1.45 Sat Sep 06 18:18:32 GMT 2008 tsutsui Fix warning which makes html version a bit mangled.
1.20 Fri Aug 17 07:04:42 GMT 2001 mbw common/main:
quick start info about bootable CD-R image

common/sysinst:
point to FAQ entry on missing hard drives

macppc/hardware:
fix info on D-Link 530TX (vr) and 530TX+ (rtk)
Some PowerBooks (FireWire and G4) won't work with FirmWare update 4.1.8,
need to use -current
mention that AirPort/AirMac 802.11b wireless is supported in -current
mention that CPU upgrades are supported

macppc/install:
point to partition numbering explanation in FAQ
fix kernel name on bootable cd-rom and mention case sensitivity

macppc/prep:
mention that people unfamiliar with MacOS should mail the port-macppc
list.
Some PowerBooks (FireWire and G4) won't work with FirmWare update 4.1.8,
need to use -current
Umax S900 isn't supported by System Disk
describe how to use Disk Copy to create the bootable floppy
point to partition numbering explanation in FAQ
point to ISO mirror site list
1.20 Fri Aug 17 07:04:42 GMT 2001 mbw common/main:
quick start info about bootable CD-R image

common/sysinst:
point to FAQ entry on missing hard drives

macppc/hardware:
fix info on D-Link 530TX (vr) and 530TX+ (rtk)
Some PowerBooks (FireWire and G4) won't work with FirmWare update 4.1.8,
need to use -current
mention that AirPort/AirMac 802.11b wireless is supported in -current
mention that CPU upgrades are supported

macppc/install:
point to partition numbering explanation in FAQ
fix kernel name on bootable cd-rom and mention case sensitivity

macppc/prep:
mention that people unfamiliar with MacOS should mail the port-macppc
list.
Some PowerBooks (FireWire and G4) won't work with FirmWare update 4.1.8,
need to use -current
Umax S900 isn't supported by System Disk
describe how to use Disk Copy to create the bootable floppy
point to partition numbering explanation in FAQ
point to ISO mirror site list
/src/lib/libedit/
H A Dvi.c1.45 Wed Jun 18 18:12:28 GMT 2014 christos Don't depend on weak aliases to define the vi "alias" expansion function,
provide an API instead to set it.
1.34 Tue Feb 22 05:45:08 GMT 2011 joerg Introduce __weakref_visible to handle the different required visibility
for weak references. GCC 4.2+ and Clang require static, older GCC wants
extern. Change __weak_reference to include sym. This requires changes
the existing users to not reuse the name of the symbol, but avoids
further differences between GCC 4.1 and GCC 4.2+/clang.
1.27 Sun Oct 22 07:48:13 GMT 2006 mrg __weakref__ attribute can not be applied to anything when inside function
scope, so, move the extern of get_alias_text outside vi_alias().

fixes build problems with GCC 4.1-20061021.
1.45 Wed Jun 18 18:12:28 GMT 2014 christos Don't depend on weak aliases to define the vi "alias" expansion function,
provide an API instead to set it.
1.34 Tue Feb 22 05:45:08 GMT 2011 joerg Introduce __weakref_visible to handle the different required visibility
for weak references. GCC 4.2+ and Clang require static, older GCC wants
extern. Change __weak_reference to include sym. This requires changes
the existing users to not reuse the name of the symbol, but avoids
further differences between GCC 4.1 and GCC 4.2+/clang.
1.27 Sun Oct 22 07:48:13 GMT 2006 mrg __weakref__ attribute can not be applied to anything when inside function
scope, so, move the extern of get_alias_text outside vi_alias().

fixes build problems with GCC 4.1-20061021.
1.45 Wed Jun 18 18:12:28 GMT 2014 christos Don't depend on weak aliases to define the vi "alias" expansion function,
provide an API instead to set it.
1.34 Tue Feb 22 05:45:08 GMT 2011 joerg Introduce __weakref_visible to handle the different required visibility
for weak references. GCC 4.2+ and Clang require static, older GCC wants
extern. Change __weak_reference to include sym. This requires changes
the existing users to not reuse the name of the symbol, but avoids
further differences between GCC 4.1 and GCC 4.2+/clang.
1.27 Sun Oct 22 07:48:13 GMT 2006 mrg __weakref__ attribute can not be applied to anything when inside function
scope, so, move the extern of get_alias_text outside vi_alias().

fixes build problems with GCC 4.1-20061021.
/src/lib/librumpuser/
H A Drumpuser.c1.45 Tue Apr 30 00:03:52 GMT 2013 pooka Make hypercall calling conventions consistent: iff a hypercall can fail,
it returns an int containing the error value.
1.17 Mon Jun 25 22:32:47 GMT 2012 abs Update old-style definitions to ANSI, remove a couple of register
definitions along the way. Fixed gcc 4.1 build (thank you vax)
/src/distrib/sets/
H A Dmkvars.mk1.45 Mon Feb 24 20:45:35 GMT 2025 martin sort
1.5 Mon Oct 31 08:14:43 GMT 2011 mrg obsolete now useless (and wrongly set to "219" :-) HAVE_BINUTILS.
switch the sense of the gdb and gcc tests to list the platforms not
switched to gcc 4.5 or gdb 7, which is now:

GCC 4.1:
.if ${MACHINE_ARCH} == "alpha" || \
${MACHINE_CPU} == "arm" || \
${MACHINE_CPU} == "m68k" || \
${MACHINE_CPU} == "vax"

GDB 6:
.if ${MACHINE_ARCH} == "alpha" || \
${MACHINE_ARCH} == "hppa" || \
${MACHINE_CPU} == "mips" || \
${MACHINE_CPU} == "sh3" || \
${MACHINE_ARCH} == "vax"

let's go, people! (-:
/src/tools/gcc/
H A DMakefile1.66 Thu Feb 27 20:15:53 GMT 2014 mrg branches: 1.66.2;
define GCCDIST properly for GCC 4.1, and since it is now the same
as GCCSRCDIR remove the latter.
1.45 Wed Sep 21 02:15:18 GMT 2011 mrg add libgomp support. needed by "cc -fopenmp", that koffice 2.3 wants to use.
1.38 Tue Jun 21 09:37:41 GMT 2011 mrg use --sysroot with GCC 4.5. (maybe could with 4.1 too? the 4.1 code
here is broken right now, anyway, ever since the sysroot changes were
merged into our tree.)
1.38 Tue Jun 21 09:37:41 GMT 2011 mrg use --sysroot with GCC 4.5. (maybe could with 4.1 too? the 4.1 code
here is broken right now, anyway, ever since the sysroot changes were
merged into our tree.)
/src/libexec/ld.elf_so/arch/sparc64/
H A Dmdreloc.c1.45 Fri May 22 21:47:46 GMT 2009 martin Use the new Elf_SOff (signed offset) type to fix a few signed/unsigned
problems.
1.39 Wed May 10 21:53:15 GMT 2006 mrg quell GCC 4.1 uninitialised variable warnings.

XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..
1.5 Wed Apr 25 00:24:51 GMT 2001 kleink branches: 1.5.2;
Sync with <sys/exec_elf.h> rev. 1.45: ElfNN_RelA -> ElfNN_Rela.
/src/sys/dev/mii/
H A Dmii_physubr.c1.82 Fri Dec 28 05:56:07 GMT 2018 msaitoh 802.2 22.2.4.1.1 "Reset" says The reset shall be completed in 0.5s, so change
the value from 100ms to 500ms.
1.45 Sun Dec 11 00:22:42 GMT 2005 christos branches: 1.45.2; 1.45.4; 1.45.6;
merge ktrace-lwp.
1.45 Sun Dec 11 00:22:42 GMT 2005 christos branches: 1.45.2; 1.45.4; 1.45.6;
merge ktrace-lwp.
1.45 Sun Dec 11 00:22:42 GMT 2005 christos branches: 1.45.2; 1.45.4; 1.45.6;
merge ktrace-lwp.
1.45 Sun Dec 11 00:22:42 GMT 2005 christos branches: 1.45.2; 1.45.4; 1.45.6;
merge ktrace-lwp.
/src/sys/sys/
H A Dcdefs.h1.110 Tue Sep 10 00:54:14 GMT 2013 gsutre Unbreak vax build (which still uses gcc 4.1). See PR lib/48131.
1.107 Wed May 29 19:02:30 GMT 2013 martin branches: 1.107.2;
While visibility "protected" is nominaly supported by gcc 4.0 and 4.1
it does not actually work - the compiler does not emmit ".protected"
asm statements for used references to protected symbols, which then
causes the linker to fail and/or produce unloadable libraries.
This recently happened to port vax by the locale changes.

Backporting a fix (ASM_OUTPUT_EXTERNAL in gcc target config) is not
feasible.

So: define __dso_protected only starting with gcc 4.2.
1.103 Sun Oct 28 17:06:40 GMT 2012 joerg For GCC 4.1 and later, use the __alignof__ keyword.
1.45 Fri Nov 01 22:58:44 GMT 2002 thorpej Add support for "link sets", which are arrays of pointers to objects
gathered together in named sections by the linker.
/src/share/mk/
H A Dsys.mk1.125 Sun Jun 29 05:20:15 GMT 2014 tsutsui Use "-O2 -fno-reorder-blocks" instead of "-Os" for m68k default optimization.

"-Os" was specfied when gcc 4.5.x was imported and the commit log says
"-O2 produces much bigger code with gcc 4.5 than it did with gcc 4.1"
but "-Os" disables most inline declarations and makes some applications
much slower. "-O2 -fno-reorder-blocks" seems enough to reduce sizes
and disabling -freorder-blocks wouldn't cause particular performance
impact on ancient m68k machines with small cache memories.
See my post on port-m68k@ for more details:
http://mail-index.NetBSD.org/port-m68k/2014/06/22/msg000488.html

No objection in the thread and "seems fine to me" from mrg@.
1.109 Fri Jun 22 20:32:35 GMT 2012 abs branches: 1.109.2;
Switch -current vax back to gcc 4.1 to match netbsd-6 - until someone has
time to look at the gcc 4.5 codegen issues we should at least have a usable
-current for vax.
1.107 Mon Oct 31 14:20:12 GMT 2011 chs branches: 1.107.2;
switch everything except vax to gcc 4.5.
switch m68k to -Os since -O2 produces much bigger code
with gcc 4.5 than it did with gcc 4.1.
1.45 Thu Nov 26 23:06:09 GMT 1998 mycroft Use -O2 on SPARC.
1.125 Sun Jun 29 05:20:15 GMT 2014 tsutsui Use "-O2 -fno-reorder-blocks" instead of "-Os" for m68k default optimization.

"-Os" was specfied when gcc 4.5.x was imported and the commit log says
"-O2 produces much bigger code with gcc 4.5 than it did with gcc 4.1"
but "-Os" disables most inline declarations and makes some applications
much slower. "-O2 -fno-reorder-blocks" seems enough to reduce sizes
and disabling -freorder-blocks wouldn't cause particular performance
impact on ancient m68k machines with small cache memories.
See my post on port-m68k@ for more details:
http://mail-index.NetBSD.org/port-m68k/2014/06/22/msg000488.html

No objection in the thread and "seems fine to me" from mrg@.
1.109 Fri Jun 22 20:32:35 GMT 2012 abs branches: 1.109.2;
Switch -current vax back to gcc 4.1 to match netbsd-6 - until someone has
time to look at the gcc 4.5 codegen issues we should at least have a usable
-current for vax.
1.107 Mon Oct 31 14:20:12 GMT 2011 chs branches: 1.107.2;
switch everything except vax to gcc 4.5.
switch m68k to -Os since -O2 produces much bigger code
with gcc 4.5 than it did with gcc 4.1.
1.45 Thu Nov 26 23:06:09 GMT 1998 mycroft Use -O2 on SPARC.
/src/distrib/notes/common/
H A Dsysinst1.45 Mon Jul 08 17:56:04 GMT 2002 lukem use .Nx \*V instead of .Nx\*V
1.25 Fri Aug 17 07:04:41 GMT 2001 mbw common/main:
quick start info about bootable CD-R image

common/sysinst:
point to FAQ entry on missing hard drives

macppc/hardware:
fix info on D-Link 530TX (vr) and 530TX+ (rtk)
Some PowerBooks (FireWire and G4) won't work with FirmWare update 4.1.8,
need to use -current
mention that AirPort/AirMac 802.11b wireless is supported in -current
mention that CPU upgrades are supported

macppc/install:
point to partition numbering explanation in FAQ
fix kernel name on bootable cd-rom and mention case sensitivity

macppc/prep:
mention that people unfamiliar with MacOS should mail the port-macppc
list.
Some PowerBooks (FireWire and G4) won't work with FirmWare update 4.1.8,
need to use -current
Umax S900 isn't supported by System Disk
describe how to use Disk Copy to create the bootable floppy
point to partition numbering explanation in FAQ
point to ISO mirror site list
1.25 Fri Aug 17 07:04:41 GMT 2001 mbw common/main:
quick start info about bootable CD-R image

common/sysinst:
point to FAQ entry on missing hard drives

macppc/hardware:
fix info on D-Link 530TX (vr) and 530TX+ (rtk)
Some PowerBooks (FireWire and G4) won't work with FirmWare update 4.1.8,
need to use -current
mention that AirPort/AirMac 802.11b wireless is supported in -current
mention that CPU upgrades are supported

macppc/install:
point to partition numbering explanation in FAQ
fix kernel name on bootable cd-rom and mention case sensitivity

macppc/prep:
mention that people unfamiliar with MacOS should mail the port-macppc
list.
Some PowerBooks (FireWire and G4) won't work with FirmWare update 4.1.8,
need to use -current
Umax S900 isn't supported by System Disk
describe how to use Disk Copy to create the bootable floppy
point to partition numbering explanation in FAQ
point to ISO mirror site list
/src/doc/
H A DCHANGES.prev1.68 Tue May 22 23:21:26 GMT 2007 pavel Move the ipf 4.1.22 entry to CHANGES.prev .
1.64 Tue May 08 11:37:11 GMT 2007 pavel mpve ipf 4.1.20 entry to CHANGES.prev (ticket 614)
1.45 Sun Sep 03 13:56:06 GMT 2006 tron Add information about ndis(4) after an according entry has been added
to the "src/doc/CHANGES" file in the "netbsd-4" branch.
1.68 Tue May 22 23:21:26 GMT 2007 pavel Move the ipf 4.1.22 entry to CHANGES.prev .
1.64 Tue May 08 11:37:11 GMT 2007 pavel mpve ipf 4.1.20 entry to CHANGES.prev (ticket 614)
1.45 Sun Sep 03 13:56:06 GMT 2006 tron Add information about ndis(4) after an according entry has been added
to the "src/doc/CHANGES" file in the "netbsd-4" branch.
1.68 Tue May 22 23:21:26 GMT 2007 pavel Move the ipf 4.1.22 entry to CHANGES.prev .
1.64 Tue May 08 11:37:11 GMT 2007 pavel mpve ipf 4.1.20 entry to CHANGES.prev (ticket 614)
1.45 Sun Sep 03 13:56:06 GMT 2006 tron Add information about ndis(4) after an according entry has been added
to the "src/doc/CHANGES" file in the "netbsd-4" branch.
1.68 Tue May 22 23:21:26 GMT 2007 pavel Move the ipf 4.1.22 entry to CHANGES.prev .
/src/lib/libc/net/
H A DMakefile.inc1.79 Sat Dec 24 04:59:00 GMT 2011 tsutsui Specify "-fno-tree-ter" to getaddrinfo.c and gethnamaddr.c on arm and gcc45
for workaround of a possible optimazation bug.

On my W-ZERO3 and Zaurus, hostname lookup against CNAME by some commands
(ping(8), ftp(1) etc.) fails even though nslookup(8) returns a proper name
against the same CNAME, after NetBSD/arm ports has been switched to
gcc 4.5 since 201110311420Z (i.e 201110310000Z binaries worked but
201111010000Z ones not).

Building getaddrinfo.c and gethnamaddr.c in libc with "-O2 -fno-tree-ter"
(or using objects built by old gcc 4.1) seems to fix this issue.

Accroding to nonaka@, the following gcc bugzilla test case also fails
with -O2 but works with -O2 -fno-tree-ter on NetBSD/zaurus 5.99.57:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48863#c4
but CNAME lookup didn't fail on his environment even without this workaround.
1.45 Wed Nov 10 22:41:00 GMT 1999 jdolecek add freeaddrinfo(3) and gai_strerror(3) as links to getaddrinfo(3)
/src/lib/libcurses/
H A DMakefile1.70 Fri Jun 13 01:17:45 GMT 2014 mrg remove the build support for GCC 4.1, and any hacks i found for it.

there could still be more -- i only looked for lines matching
both "HAVE_GCC" and "4" as words (grep -w.)
1.45 Wed May 21 21:19:52 GMT 2003 jdc Add addchstr() family of functions.
Based on mail from Douwe Kiela.
Fixes PR lib/21285 by Thomas Klausner.

Completed in 243 milliseconds

1234