head	1.19;
access;
symbols
	perseant-exfatfs-base-20261102:1.19
	netbsd-11-1-RELEASE:1.18
	netbsd-10-2-RELEASE:1.17.20.1
	netbsd-9-5-RELEASE:1.14.22.1
	netbsd-11-0-RELEASE:1.18
	netbsd-11-0-RC7:1.18
	netbsd-11-0-RC6:1.18
	netbsd-11-0-RC5:1.18
	netbsd-11-0-RC4:1.18
	netbsd-11-0-RC3:1.18
	netbsd-11-0-RC2:1.18
	netbsd-11-0-RC1:1.18
	perseant-exfatfs-base-20250801:1.18
	netbsd-11:1.18.0.8
	netbsd-11-base:1.18
	netbsd-10-1-RELEASE:1.17.20.1
	perseant-exfatfs-base-20240630:1.18
	perseant-exfatfs:1.18.0.6
	perseant-exfatfs-base:1.18
	netbsd-8-3-RELEASE:1.14
	netbsd-9-4-RELEASE:1.14.22.1
	netbsd-10-0-RELEASE:1.17.20.1
	netbsd-10-0-RC6:1.17.20.1
	netbsd-10-0-RC5:1.17.20.1
	netbsd-10-0-RC4:1.17.20.1
	netbsd-10-0-RC3:1.17.20.1
	netbsd-10-0-RC2:1.17.20.1
	thorpej-ifq:1.18.0.4
	thorpej-ifq-base:1.18
	thorpej-altq-separation:1.18.0.2
	thorpej-altq-separation-base:1.18
	netbsd-10-0-RC1:1.17.20.1
	netbsd-10:1.17.0.20
	netbsd-10-base:1.17
	bouyer-sunxi-drm:1.17.0.18
	bouyer-sunxi-drm-base:1.17
	netbsd-9-3-RELEASE:1.14.22.1
	thorpej-i2c-spi-conf2:1.17.0.16
	thorpej-i2c-spi-conf2-base:1.17
	thorpej-futex2:1.17.0.14
	thorpej-futex2-base:1.17
	thorpej-cfargs2:1.17.0.12
	thorpej-cfargs2-base:1.17
	cjep_sun2x-base1:1.17
	cjep_sun2x:1.17.0.10
	cjep_sun2x-base:1.17
	cjep_staticlib_x-base1:1.17
	netbsd-9-2-RELEASE:1.14.22.1
	cjep_staticlib_x:1.17.0.8
	cjep_staticlib_x-base:1.17
	thorpej-i2c-spi-conf:1.17.0.6
	thorpej-i2c-spi-conf-base:1.17
	thorpej-cfargs:1.17.0.4
	thorpej-cfargs-base:1.17
	thorpej-futex:1.17.0.2
	thorpej-futex-base:1.17
	netbsd-9-1-RELEASE:1.14.22.1
	bouyer-xenpvh-base2:1.15
	phil-wifi-20200421:1.15
	bouyer-xenpvh-base1:1.15
	phil-wifi-20200411:1.15
	bouyer-xenpvh:1.15.0.2
	bouyer-xenpvh-base:1.15
	is-mlppp:1.14.0.26
	is-mlppp-base:1.14
	phil-wifi-20200406:1.15
	netbsd-8-2-RELEASE:1.14
	ad-namecache-base3:1.14
	netbsd-9-0-RELEASE:1.14
	netbsd-9-0-RC2:1.14
	ad-namecache-base2:1.14
	ad-namecache-base1:1.14
	ad-namecache:1.14.0.24
	ad-namecache-base:1.14
	netbsd-9-0-RC1:1.14
	phil-wifi-20191119:1.14
	netbsd-9:1.14.0.22
	netbsd-9-base:1.14
	phil-wifi-20190609:1.14
	netbsd-8-1-RELEASE:1.14
	netbsd-8-1-RC1:1.14
	isaki-audio2:1.14.0.20
	isaki-audio2-base:1.14
	pgoyette-compat-merge-20190127:1.14
	pgoyette-compat-20190127:1.14
	pgoyette-compat-20190118:1.14
	pgoyette-compat-1226:1.14
	pgoyette-compat-1126:1.14
	pgoyette-compat-1020:1.14
	pgoyette-compat-0930:1.14
	pgoyette-compat-0906:1.14
	netbsd-7-2-RELEASE:1.11
	pgoyette-compat-0728:1.14
	netbsd-8-0-RELEASE:1.14
	phil-wifi:1.14.0.18
	phil-wifi-base:1.14
	pgoyette-compat-0625:1.14
	netbsd-8-0-RC2:1.14
	pgoyette-compat-0521:1.14
	pgoyette-compat-0502:1.14
	pgoyette-compat-0422:1.14
	netbsd-8-0-RC1:1.14
	pgoyette-compat-0415:1.14
	pgoyette-compat-0407:1.14
	pgoyette-compat-0330:1.14
	pgoyette-compat-0322:1.14
	pgoyette-compat-0315:1.14
	netbsd-7-1-2-RELEASE:1.11
	pgoyette-compat:1.14.0.16
	pgoyette-compat-base:1.14
	netbsd-7-1-1-RELEASE:1.11
	tls-maxphys-base-20171202:1.14
	matt-nb8-mediatek:1.14.0.14
	matt-nb8-mediatek-base:1.14
	nick-nhusb-base-20170825:1.14
	perseant-stdc-iso10646:1.14.0.12
	perseant-stdc-iso10646-base:1.14
	netbsd-8:1.14.0.10
	netbsd-8-base:1.14
	prg-localcount2-base3:1.14
	prg-localcount2-base2:1.14
	prg-localcount2-base1:1.14
	prg-localcount2:1.14.0.8
	prg-localcount2-base:1.14
	pgoyette-localcount-20170426:1.14
	bouyer-socketcan-base1:1.14
	jdolecek-ncq:1.14.0.6
	jdolecek-ncq-base:1.14
	pgoyette-localcount-20170320:1.14
	netbsd-7-1:1.11.0.10
	netbsd-7-1-RELEASE:1.11
	netbsd-7-1-RC2:1.11
	nick-nhusb-base-20170204:1.14
	netbsd-7-nhusb-base-20170116:1.11
	bouyer-socketcan:1.14.0.4
	bouyer-socketcan-base:1.14
	pgoyette-localcount-20170107:1.14
	netbsd-7-1-RC1:1.11
	nick-nhusb-base-20161204:1.14
	pgoyette-localcount-20161104:1.14
	netbsd-7-0-2-RELEASE:1.11
	nick-nhusb-base-20161004:1.14
	localcount-20160914:1.14
	netbsd-7-nhusb:1.11.0.8
	netbsd-7-nhusb-base:1.11
	pgoyette-localcount-20160806:1.14
	pgoyette-localcount-20160726:1.14
	pgoyette-localcount:1.14.0.2
	pgoyette-localcount-base:1.14
	nick-nhusb-base-20160907:1.14
	nick-nhusb-base-20160529:1.14
	netbsd-7-0-1-RELEASE:1.11
	nick-nhusb-base-20160422:1.14
	nick-nhusb-base-20160319:1.13
	nick-nhusb-base-20151226:1.13
	netbsd-7-0:1.11.0.6
	netbsd-7-0-RELEASE:1.11
	nick-nhusb-base-20150921:1.12
	netbsd-7-0-RC3:1.11
	netbsd-7-0-RC2:1.11
	netbsd-7-0-RC1:1.11
	nick-nhusb-base-20150606:1.12
	nick-nhusb-base-20150406:1.11
	nick-nhusb:1.11.0.4
	nick-nhusb-base:1.11
	netbsd-5-2-3-RELEASE:1.5
	netbsd-5-1-5-RELEASE:1.5
	netbsd-6-0-6-RELEASE:1.6
	netbsd-6-1-5-RELEASE:1.6
	netbsd-7:1.11.0.2
	netbsd-7-base:1.11
	yamt-pagecache-base9:1.10
	yamt-pagecache-tag8:1.6
	netbsd-6-1-4-RELEASE:1.6
	netbsd-6-0-5-RELEASE:1.6
	tls-earlyentropy:1.10.0.2
	tls-earlyentropy-base:1.11
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.10
	riastradh-drm2-base3:1.9
	netbsd-6-1-3-RELEASE:1.6
	netbsd-6-0-4-RELEASE:1.6
	netbsd-5-2-2-RELEASE:1.5
	netbsd-5-1-4-RELEASE:1.5
	netbsd-6-1-2-RELEASE:1.6
	netbsd-6-0-3-RELEASE:1.6
	netbsd-5-2-1-RELEASE:1.5
	netbsd-5-1-3-RELEASE:1.5
	rmind-smpnet-nbase:1.11
	netbsd-6-1-1-RELEASE:1.6
	riastradh-drm2-base2:1.9
	riastradh-drm2-base1:1.9
	riastradh-drm2:1.8.0.4
	riastradh-drm2-base:1.8
	rmind-smpnet:1.8.0.2
	rmind-smpnet-base:1.11
	netbsd-6-1:1.6.0.30
	netbsd-6-0-2-RELEASE:1.6
	netbsd-6-1-RELEASE:1.6
	khorben-n900:1.6.0.28
	netbsd-6-1-RC4:1.6
	netbsd-6-1-RC3:1.6
	agc-symver:1.6.0.26
	agc-symver-base:1.6
	netbsd-6-1-RC2:1.6
	netbsd-6-1-RC1:1.6
	yamt-pagecache-base8:1.6
	netbsd-5-2:1.5.0.20
	netbsd-6-0-1-RELEASE:1.6
	yamt-pagecache-base7:1.6
	netbsd-5-2-RELEASE:1.5
	netbsd-5-2-RC1:1.5
	matt-nb6-plus-nbase:1.6
	yamt-pagecache-base6:1.6
	netbsd-6-0:1.6.0.22
	netbsd-6-0-RELEASE:1.6
	netbsd-6-0-RC2:1.6
	tls-maxphys:1.6.0.20
	tls-maxphys-base:1.11
	matt-nb6-plus:1.6.0.18
	matt-nb6-plus-base:1.6
	netbsd-6-0-RC1:1.6
	jmcneill-usbmp-base10:1.6
	yamt-pagecache-base5:1.6
	jmcneill-usbmp-base9:1.6
	yamt-pagecache-base4:1.6
	jmcneill-usbmp-base8:1.6
	jmcneill-usbmp-base7:1.6
	jmcneill-usbmp-base6:1.6
	jmcneill-usbmp-base5:1.6
	jmcneill-usbmp-base4:1.6
	jmcneill-usbmp-base3:1.6
	jmcneill-usbmp-pre-base2:1.6
	jmcneill-usbmp-base2:1.6
	netbsd-6:1.6.0.16
	netbsd-6-base:1.6
	netbsd-5-1-2-RELEASE:1.5
	netbsd-5-1-1-RELEASE:1.5
	jmcneill-usbmp:1.6.0.14
	jmcneill-usbmp-base:1.6
	jmcneill-audiomp3:1.6.0.12
	jmcneill-audiomp3-base:1.6
	yamt-pagecache-base3:1.6
	yamt-pagecache-base2:1.6
	yamt-pagecache:1.6.0.10
	yamt-pagecache-base:1.6
	rmind-uvmplock-nbase:1.6
	cherry-xenmp:1.6.0.8
	cherry-xenmp-base:1.6
	bouyer-quota2-nbase:1.6
	bouyer-quota2:1.6.0.6
	bouyer-quota2-base:1.6
	jruoho-x86intr:1.6.0.4
	jruoho-x86intr-base:1.6
	matt-mips64-premerge-20101231:1.6
	matt-nb5-mips64-premerge-20101231:1.5
	matt-nb5-pq3:1.5.0.18
	matt-nb5-pq3-base:1.5
	netbsd-5-1:1.5.0.16
	netbsd-5-1-RELEASE:1.5
	uebayasi-xip-base4:1.6
	uebayasi-xip-base3:1.6
	yamt-nfs-mp-base11:1.6
	netbsd-5-1-RC4:1.5
	matt-nb5-mips64-k15:1.5
	uebayasi-xip-base2:1.6
	yamt-nfs-mp-base10:1.6
	netbsd-5-1-RC3:1.5
	netbsd-5-1-RC2:1.5
	uebayasi-xip-base1:1.6
	netbsd-5-1-RC1:1.5
	rmind-uvmplock:1.6.0.2
	rmind-uvmplock-base:1.6
	yamt-nfs-mp-base9:1.6
	uebayasi-xip:1.5.0.14
	uebayasi-xip-base:1.5
	netbsd-5-0-2-RELEASE:1.5
	matt-nb5-mips64-premerge-20091211:1.5
	matt-premerge-20091211:1.5
	yamt-nfs-mp-base8:1.5
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.5
	matt-nb4-mips64-k7-u2a-k9b:1.5
	matt-nb5-mips64-u1-k1-k5:1.5
	yamt-nfs-mp-base7:1.5
	matt-nb5-mips64:1.5.0.12
	netbsd-5-0-1-RELEASE:1.5
	jymxensuspend-base:1.5
	yamt-nfs-mp-base6:1.5
	yamt-nfs-mp-base5:1.5
	yamt-nfs-mp-base4:1.5
	jym-xensuspend-nbase:1.5
	yamt-nfs-mp-base3:1.5
	nick-hppapmap-base4:1.5
	nick-hppapmap-base3:1.5
	netbsd-5-0:1.5.0.10
	netbsd-5-0-RELEASE:1.5
	netbsd-5-0-RC4:1.5
	netbsd-5-0-RC3:1.5
	nick-hppapmap-base2:1.5
	netbsd-5-0-RC2:1.5
	jym-xensuspend:1.5.0.8
	jym-xensuspend-base:1.5
	netbsd-5-0-RC1:1.5
	haad-dm-base2:1.5
	haad-nbase2:1.5
	ad-audiomp2:1.5.0.6
	ad-audiomp2-base:1.5
	netbsd-5:1.5.0.4
	netbsd-5-base:1.5
	nick-hppapmap:1.5.0.2
	nick-hppapmap-base:1.5
	matt-mips64-base2:1.5
	matt-mips64:1.1.0.2
	haad-dm-base1:1.5
	wrstuden-revivesa-base-4:1.5
	wrstuden-revivesa-base-3:1.5
	wrstuden-revivesa-base-2:1.5
	nick-csl-alignment-base5:1.2
	haad-dm:1.4.0.16
	haad-dm-base:1.5
	wrstuden-revivesa-base-1:1.4
	simonb-wapbl-nbase:1.5
	yamt-pf42-base4:1.4
	simonb-wapbl:1.4.0.14
	simonb-wapbl-base:1.5
	yamt-pf42-base3:1.4
	hpcarm-cleanup-nbase:1.4
	yamt-pf42-baseX:1.4
	yamt-pf42-base2:1.4
	yamt-nfs-mp-base2:1.4
	wrstuden-revivesa:1.4.0.12
	wrstuden-revivesa-base:1.4
	yamt-nfs-mp:1.4.0.10
	yamt-nfs-mp-base:1.4
	yamt-pf42:1.4.0.8
	yamt-pf42-base:1.4
	ad-socklock-base1:1.4
	yamt-lazymbuf-base15:1.4
	yamt-lazymbuf-base14:1.4
	keiichi-mipv6-nbase:1.4
	mjf-devfs2:1.4.0.6
	mjf-devfs2-base:1.5
	nick-net80211-sync:1.4.0.4
	nick-net80211-sync-base:1.4
	keiichi-mipv6:1.4.0.2
	keiichi-mipv6-base:1.4
	bouyer-xeni386-merge1:1.2.22.1
	matt-armv6-prevmlocking:1.2
	vmlocking2-base3:1.4
	bouyer-xeni386-nbase:1.4
	yamt-kmem-base3:1.3
	cube-autoconf:1.2.0.24
	cube-autoconf-base:1.2
	yamt-kmem-base2:1.2
	bouyer-xeni386:1.2.0.22
	bouyer-xeni386-base:1.4
	yamt-kmem:1.2.0.20
	yamt-kmem-base:1.2
	vmlocking2-base2:1.2
	reinoud-bufcleanup-nbase:1.2
	reinoud-bufcleanup-base:1.2
	vmlocking2:1.2.0.18
	vmlocking2-base1:1.2
	matt-armv6-nbase:1.4
	jmcneill-base:1.2
	mjf-devfs:1.2.0.16
	mjf-devfs-base:1.4
	jmcneill-pm:1.2.0.14
	hpcarm-cleanup-base:1.4
	bouyer-xenamd64-base2:1.2
	vmlocking-nbase:1.2
	yamt-x86pmap-base4:1.2
	bouyer-xenamd64:1.2.0.12
	bouyer-xenamd64-base:1.2
	yamt-x86pmap-base3:1.2
	vmlocking-base:1.2
	yamt-x86pmap-base2:1.2
	yamt-x86pmap:1.2.0.10
	yamt-x86pmap-base:1.2
	yamt-lazymbuf:1.2.0.8
	matt-armv6:1.2.0.6
	matt-armv6-base:1.4
	vmlocking:1.2.0.4
	nick-csl-alignment:1.2.0.2
	jmcneill-pm-base:1.2
	matt-mips64-base:1.1;
locks; strict;
comment	@# @;


1.19
date	2025.11.06.15.45.32;	author perseant;	state Exp;
branches;
next	1.18;
commitid	QYpiFihglYOIxvhG;

1.18
date	2023.10.07.12.15.54;	author rin;	state Exp;
branches
	1.18.6.1;
next	1.17;
commitid	vmlIp8dcEoVdRGHE;

1.17
date	2020.09.07.03.09.53;	author mrg;	state Exp;
branches
	1.17.20.1;
next	1.16;
commitid	2TYyPHtsMF2t04nC;

1.16
date	2020.09.06.07.20.30;	author mrg;	state Exp;
branches;
next	1.15;
commitid	IFqEYW6MZdeXkXmC;

1.15
date	2020.03.21.18.58.43;	author riastradh;	state Exp;
branches;
next	1.14;
commitid	NQ9iqUVCaUgSIi1C;

1.14
date	2016.03.23.21.38.51;	author christos;	state Exp;
branches
	1.14.18.1
	1.14.22.1;
next	1.13;
commitid	CjXqFKbcF1GqvOZy;

1.13
date	2015.10.19.16.16.36;	author pooka;	state Exp;
branches;
next	1.12;
commitid	tw5dhIUFxtTYIJFy;

1.12
date	2015.05.31.15.48.02;	author hannken;	state Exp;
branches;
next	1.11;
commitid	sILLwdmaET9n6Cny;

1.11
date	2014.05.16.09.34.03;	author dholland;	state Exp;
branches
	1.11.4.1;
next	1.10;
commitid	BqD5yXHEYPvZfKAx;

1.10
date	2014.03.18.18.20.44;	author riastradh;	state Exp;
branches
	1.10.2.1;
next	1.9;
commitid	YersUbOm2SKa4dtx;

1.9
date	2013.07.20.20.43.09;	author dholland;	state Exp;
branches;
next	1.8;
commitid	KwvlcofFa7imBfYw;

1.8
date	2013.06.08.22.45.28;	author dholland;	state Exp;
branches
	1.8.2.1
	1.8.4.1;
next	1.7;
commitid	fEYVL3AVIQy0DRSw;

1.7
date	2013.06.06.00.54.49;	author dholland;	state Exp;
branches;
next	1.6;
commitid	FHQVyRj6ujPoruSw;

1.6
date	2010.02.16.20.42.46;	author pooka;	state Exp;
branches
	1.6.10.1
	1.6.20.1;
next	1.5;

1.5
date	2008.07.29.13.17.43;	author pooka;	state Exp;
branches
	1.5.14.1;
next	1.4;

1.4
date	2007.12.13.16.08.12;	author pooka;	state Exp;
branches
	1.4.6.1
	1.4.10.1
	1.4.12.1
	1.4.14.1
	1.4.16.1;
next	1.3;

1.3
date	2007.12.12.18.52.00;	author elad;	state Exp;
branches;
next	1.2;

1.2
date	2007.08.07.10.16.57;	author pooka;	state Exp;
branches
	1.2.2.1
	1.2.4.1
	1.2.6.1
	1.2.8.1
	1.2.14.1
	1.2.18.1
	1.2.20.1
	1.2.22.1;
next	1.1;

1.1
date	2007.08.05.22.28.04;	author pooka;	state Exp;
branches
	1.1.2.1;
next	;

1.18.6.1
date	2026.11.04.23.28.02;	author perseant;	state Exp;
branches;
next	;
commitid	3QTNojfCEH9lUb2H;

1.17.20.1
date	2023.10.08.14.35.24;	author martin;	state Exp;
branches;
next	;
commitid	u2OxnQINGCBFBPHE;

1.14.18.1
date	2020.04.08.14.09.00;	author martin;	state Exp;
branches;
next	;
commitid	Qli2aW9E74UFuA3C;

1.14.22.1
date	2020.08.17.10.30.22;	author martin;	state Exp;
branches;
next	;
commitid	kzrtJM5gQmgs7pkC;

1.11.4.1
date	2015.06.06.14.40.27;	author skrll;	state Exp;
branches;
next	1.11.4.2;
commitid	O6LVO5i6UulOvnoy;

1.11.4.2
date	2015.12.27.12.10.13;	author skrll;	state Exp;
branches;
next	1.11.4.3;
commitid	BTSqUD4SdJ5k7AOy;

1.11.4.3
date	2016.04.22.15.44.18;	author skrll;	state Exp;
branches;
next	;
commitid	bbo6x38wuxyZyD3z;

1.10.2.1
date	2014.08.10.06.56.50;	author tls;	state Exp;
branches;
next	;
commitid	SqReByPtwiDFCMLx;

1.8.2.1
date	2013.08.28.23.59.36;	author rmind;	state Exp;
branches;
next	1.8.2.2;
commitid	cbp9Ov2uYijlqh3x;

1.8.2.2
date	2014.05.18.17.46.17;	author rmind;	state Exp;
branches;
next	;
commitid	mL5ZYSzpqK6QS2Bx;

1.8.4.1
date	2013.07.23.21.07.37;	author riastradh;	state Exp;
branches;
next	;
commitid	rochtllMBJfBDDYw;

1.6.10.1
date	2014.05.22.11.41.13;	author yamt;	state Exp;
branches;
next	;
commitid	VUUXuyNWnt3AKwBx;

1.6.20.1
date	2013.06.23.06.20.27;	author tls;	state Exp;
branches;
next	1.6.20.2;
commitid	eVjr9caYRQbRGHUw;

1.6.20.2
date	2014.08.20.00.04.39;	author tls;	state Exp;
branches;
next	1.6.20.3;
commitid	jTnpym9Qu0o4R1Nx;

1.6.20.3
date	2017.12.03.11.39.12;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.5.14.1
date	2010.04.30.14.44.28;	author uebayasi;	state Exp;
branches;
next	;

1.4.6.1
date	2008.09.28.10.41.02;	author mjf;	state Exp;
branches;
next	;

1.4.10.1
date	2009.05.04.08.14.26;	author yamt;	state Exp;
branches;
next	1.4.10.2;

1.4.10.2
date	2010.03.11.15.04.36;	author yamt;	state Exp;
branches;
next	;

1.4.12.1
date	2008.09.18.04.37.03;	author wrstuden;	state Exp;
branches;
next	;

1.4.14.1
date	2008.07.31.04.51.04;	author simonb;	state Exp;
branches;
next	;

1.4.16.1
date	2008.10.19.22.18.05;	author haad;	state Exp;
branches;
next	;

1.2.2.1
date	2007.08.07.10.16.57;	author skrll;	state dead;
branches;
next	1.2.2.2;

1.2.2.2
date	2007.08.15.13.50.23;	author skrll;	state Exp;
branches;
next	;

1.2.4.1
date	2007.08.07.10.16.57;	author ad;	state dead;
branches;
next	1.2.4.2;

1.2.4.2
date	2007.08.20.22.07.19;	author ad;	state Exp;
branches;
next	;

1.2.6.1
date	2008.01.09.01.57.56;	author matt;	state Exp;
branches;
next	;

1.2.8.1
date	2007.08.07.10.16.57;	author yamt;	state dead;
branches;
next	1.2.8.2;

1.2.8.2
date	2007.09.03.14.45.07;	author yamt;	state Exp;
branches;
next	1.2.8.3;

1.2.8.3
date	2008.01.21.09.47.39;	author yamt;	state Exp;
branches;
next	;

1.2.14.1
date	2007.08.07.10.16.57;	author joerg;	state dead;
branches;
next	1.2.14.2;

1.2.14.2
date	2007.11.02.12.43.37;	author joerg;	state Exp;
branches;
next	;

1.2.18.1
date	2007.12.26.19.57.52;	author ad;	state Exp;
branches;
next	;

1.2.20.1
date	2007.12.13.05.06.02;	author yamt;	state Exp;
branches;
next	;

1.2.22.1
date	2007.12.13.21.56.58;	author bouyer;	state Exp;
branches;
next	;

1.1.2.1
date	2007.08.05.22.28.04;	author pooka;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2007.08.05.22.28.05;	author pooka;	state Exp;
branches;
next	;


desc
@@


1.19
log
@Add in-kernel cleaner.  Move cleaning-related routines into their own file.
Document the fcntl calls better in lfs.h.  Bounds-check inode numbers in
segment parsing functions.  Use the in-kernel cleaner in a greedy mode
for tests in tests/fs/vfs, and add a test of the kernel cleaner.
@
text
@#	$NetBSD: Makefile,v 1.18 2023/10/07 12:15:54 rin Exp $
#

.PATH:  ${.CURDIR}/../../../../ufs/lfs

LIB=	rumpfs_lfs
COMMENT=Log-structured File System

SRCS=	lfs_alloc.c lfs_balloc.c lfs_bio.c lfs_cksum.c lfs_debug.c	\
	lfs_inode.c lfs_itimes.c lfs_kclean.c lfs_pages.c lfs_rename.c	\
	lfs_rfw.c lfs_segment.c lfs_subr.c lfs_syscalls.c lfs_vfsops.c	\
	lfs_vnops.c

SRCS+=	ulfs_bmap.c ulfs_dirhash.c ulfs_extattr.c 			\
	ulfs_inode.c ulfs_lookup.c ulfs_quota.c ulfs_quota1.c		\
	ulfs_quota2.c ulfs_quota1_subr.c ulfs_quota2_subr.c		\
	ulfs_snapshot.c ulfs_vfsops.c ulfs_vnops.c


CFLAGS+=        -DLFS_KERNEL_RFW

.include <bsd.lib.mk>
.include <bsd.klinks.mk>
@


1.18
log
@Drop -O[01] hacks for vax; no longer necessary for patched GCC 10

PR port-vax/57646: Import major vax toolchain fix by Kalvis Duckmanton

XXXRO: GCC 12 may require hacks for a while, but it turned out that
GCC 12 should be treated differently from older versions; a lot of new
files need -O[01] flags, while some may no longer require it.

I will take a look later.

Note that these hacks are not required if Kalvis's patches for GCC 12
are applied.

Keep doc/HACKS entries for a while (will be sync with update for GCC 12).

diff --git a/crypto/external/bsd/openssh/lib/Makefile b/crypto/external/bsd/openssh/lib/Makefile
index 96a93f5e396..4e38be1b642 100644
--- a/crypto/external/bsd/openssh/lib/Makefile
+++ b/crypto/external/bsd/openssh/lib/Makefile
@@@@ -117,12 +117,6 @@@@ COPTS.${f}.c+=	-Wno-pointer-sign
 # XXX
 COPTS.channels.c+=	-fno-strict-aliasing

-# XXX
-.if ${MACHINE} == "vax"
-COPTS.poly1305.c+=	-O0
-COPTS.umac.c+=		-O0
-.endif
-
 COPTS.hostfile.c+=	${CC_WNO_FORMAT_TRUNCATION}
 COPTS.sshkey.c+=	${CC_WNO_FORMAT_TRUNCATION}
 COPTS.cipher.c+=	-Wno-error=deprecated-declarations
diff --git a/distrib/utils/x_ping/Makefile b/distrib/utils/x_ping/Makefile
index f1c452a0d60..8ee77580a3f 100644
--- a/distrib/utils/x_ping/Makefile
+++ b/distrib/utils/x_ping/Makefile
@@@@ -12,10 +12,6 @@@@ CPPFLAGS+=	-I${SRCDIR} -DCRUNCHOPS
 DPADD=		${LIBM}
 LDADD=		-lm

-.if ${MACHINE_ARCH} == "vax"
-COPTS.ping.c=-O0
-.endif
-
 .include <bsd.prog.mk>

 .PATH:		${SRCDIR}
diff --git a/external/apache2/argon2/lib/libargon2/Makefile.inc b/external/apache2/argon2/lib/libargon2/Makefile.inc
index d3f4470c6c7..6a1dd146d7d 100644
--- a/external/apache2/argon2/lib/libargon2/Makefile.inc
+++ b/external/apache2/argon2/lib/libargon2/Makefile.inc
@@@@ -16,7 +16,3 @@@@ CFLAGS+=	-pthread
 LDADD+=-lpthread
 DPADD+=${LIBPTHREAD}
 .endif
-
-.if ${MACHINE} == "vax"
-COPTS.blake2b.c+=	-O0
-.endif
diff --git a/external/bsd/jemalloc/lib/Makefile.inc b/external/bsd/jemalloc/lib/Makefile.inc
index 2f524358f46..d5da774f293 100644
--- a/external/bsd/jemalloc/lib/Makefile.inc
+++ b/external/bsd/jemalloc/lib/Makefile.inc
@@@@ -53,12 +53,6 @@@@ COPTS.ctl.c+=-Wno-error=stack-protector
 COPTS.stats.c+=-Wno-error=stack-protector
 COPTS.tcache.c+=-Wno-error=stack-protector

-.if ${MACHINE_ARCH} == "vax"
-# in merge_overlapping_regs, at regrename.c
-COPTS.arena.c+=-O0
-COPTS.extent.c+=-O0
-.endif
-
 SRCS+=${JEMALLOC_SRCS}

 jemalloc.d jemalloc.pico jemalloc.o jemalloc.ln jemalloc.po jemalloc.go: \
diff --git a/external/bsd/mdocml/lib/libmandoc/Makefile b/external/bsd/mdocml/lib/libmandoc/Makefile
index 40d7e29ae88..dfd3077a2c7 100644
--- a/external/bsd/mdocml/lib/libmandoc/Makefile
+++ b/external/bsd/mdocml/lib/libmandoc/Makefile
@@@@ -39,11 +39,6 @@@@ tbl_opts.c

 MAN=	mandoc.3

-# XXX
-.if ${MACHINE} == "vax"
-COPTS.mdoc_macro.c+=-O0
-.endif
-
 COPTS.man_validate.c+=-Wno-error=array-bounds

 .include <bsd.lib.mk>
diff --git a/external/gpl3/binutils.old/lib/libbfd/Makefile b/external/gpl3/binutils.old/lib/libbfd/Makefile
index 03477232b55..74a354532fa 100644
--- a/external/gpl3/binutils.old/lib/libbfd/Makefile
+++ b/external/gpl3/binutils.old/lib/libbfd/Makefile
@@@@ -41,10 +41,6 @@@@ CPPFLAGS+=	-I${.CURDIR}/arch/${BFD_MACHINE_ARCH} -I${DIST}/include -I. \
 		-DDEBUGDIR=\"${DEBUGDIR}\" -DLIBDIR=\"${LIBDIR}\" \
 		-DBINDIR=\"${BINDIR}\"

-.if (${BFD_MACHINE_ARCH} == "vax")
-CPPFLAGS.elf.c +=	-O0
-.endif
-
 COPTS.pei-x86_64.c+=	-Wno-stack-protector
 COPTS.elfxx-mips.c+=	-Wno-stack-protector
 COPTS.elf.c+=		${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -Wno-overflow :}
diff --git a/external/gpl3/binutils/lib/libbfd/Makefile b/external/gpl3/binutils/lib/libbfd/Makefile
index 00cb2b20081..a3f0c25fd35 100644
--- a/external/gpl3/binutils/lib/libbfd/Makefile
+++ b/external/gpl3/binutils/lib/libbfd/Makefile
@@@@ -41,10 +41,6 @@@@ CPPFLAGS+=	-I${.CURDIR}/arch/${BFD_MACHINE_ARCH} -I${DIST}/include -I. \
 		-DDEBUGDIR=\"${DEBUGDIR}\" -DLIBDIR=\"${LIBDIR}\" \
 		-DBINDIR=\"${BINDIR}\"

-.if (${BFD_MACHINE_ARCH} == "vax")
-CPPFLAGS.elf.c +=	-O0
-.endif
-
 COPTS.pei-x86_64.c+=	-Wno-stack-protector
 COPTS.elfxx-mips.c+=	-Wno-stack-protector
 COPTS.elf.c+=		${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -Wno-overflow :}
diff --git a/external/gpl3/gcc.old/lib/Makefile.sanitizer b/external/gpl3/gcc.old/lib/Makefile.sanitizer
index efd36ae4bee..5173a5109a0 100644
--- a/external/gpl3/gcc.old/lib/Makefile.sanitizer
+++ b/external/gpl3/gcc.old/lib/Makefile.sanitizer
@@@@ -88,22 +88,3 @@@@ COPTS+=-fno-builtin -fno-exceptions -fno-rtti -funwind-tables

 # Can't profile without it`
 #-fomit-frame-pointer
-
-.if ${MACHINE_ARCH} == "vax"
-COPTS.sanitizer_allocator.cc += -O1
-COPTS.sanitizer_common.cc += -O1
-COPTS.sanitizer_common_libcdep.cc += -O1
-COPTS.sanitizer_coverage_libcdep.cc += -O1
-COPTS.sanitizer_coverage_mapping_libcdep.cc += -O1
-COPTS.sanitizer_deadlock_detector1.cc += -O1
-COPTS.sanitizer_mac.cc += -O1
-COPTS.sanitizer_netbsd.cc += -O1
-COPTS.sanitizer_posix.cc += -O1
-COPTS.sanitizer_printf.cc += -O1
-COPTS.sanitizer_procmaps_common.cc += -O1
-COPTS.sanitizer_stackdepot.cc += -O1
-COPTS.sanitizer_symbolizer_libcdep.cc += -O1
-COPTS.sanitizer_symbolizer_report.cc += -O1
-COPTS.ubsan_diag.cc += -O1
-COPTS.ubsan_init.cc += -O1
-.endif
diff --git a/external/gpl3/gcc.old/lib/libasan/Makefile b/external/gpl3/gcc.old/lib/libasan/Makefile
index 1e6f9608abe..3da7bbf2f58 100644
--- a/external/gpl3/gcc.old/lib/libasan/Makefile
+++ b/external/gpl3/gcc.old/lib/libasan/Makefile
@@@@ -49,14 +49,6 @@@@ LIBDPLIBS+= m  ${NETBSDSRCDIR}/lib/libm
 LIBDPLIBS+= pthread ${NETBSDSRCDIR}/lib/libpthread
 CPPFLAGS+=-DCAN_SANITIZE_UB=0

-.if ${MACHINE_ARCH} == "vax"
-COPTS.asan_allocator.cc += -O1
-COPTS.asan_report.cc += -O1
-COPTS.sanitizer_file.cc += -O1
-COPTS.ubsan_diag.cc += -O1
-COPTS.ubsan_init.cc += -O1
-.endif
-
 .if ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
 COPTS.asan_interceptors.cc += -O1
 .endif
diff --git a/external/gpl3/gcc.old/lib/liblsan/Makefile b/external/gpl3/gcc.old/lib/liblsan/Makefile
index 4578544a9a8..ddb7981077c 100644
--- a/external/gpl3/gcc.old/lib/liblsan/Makefile
+++ b/external/gpl3/gcc.old/lib/liblsan/Makefile
@@@@ -16,11 +16,6 @@@@ LSAN_SRCS+= \
 	lsan_linux.cc \
 	lsan_thread.cc

-.if ${MACHINE_ARCH} == "vax"
-COPTS.lsan_allocator.cc += -O1
-COPTS.sanitizer_file.cc += -O1
-.endif
-
 LIB=	lsan
 SRCS+=	${LSAN_SRCS}
 LIBDPLIBS+= m ${NETBSDSRCDIR}/lib/libm
diff --git a/external/gpl3/gcc.old/lib/libubsan/Makefile b/external/gpl3/gcc.old/lib/libubsan/Makefile
index 2e2faca7b1c..9de82550d14 100644
--- a/external/gpl3/gcc.old/lib/libubsan/Makefile
+++ b/external/gpl3/gcc.old/lib/libubsan/Makefile
@@@@ -26,10 +26,6 @@@@ UBSAN_SRCS= \
 COPTS.${_s}.cc+=-frtti
 .endfor

-.if ${MACHINE_ARCH} == "vax"
-COPTS.sanitizer_file.cc += -O1
-.endif
-
 LIB=	ubsan
 SRCS+=	${UBSAN_SRCS}
 LIBDPLIBS+= m ${NETBSDSRCDIR}/lib/libm
diff --git a/external/gpl3/gcc.old/usr.bin/cc1/Makefile b/external/gpl3/gcc.old/usr.bin/cc1/Makefile
index c55e292ee8e..ff12a5be524 100644
--- a/external/gpl3/gcc.old/usr.bin/cc1/Makefile
+++ b/external/gpl3/gcc.old/usr.bin/cc1/Makefile
@@@@ -46,17 +46,6 @@@@ CPPFLAGS.default-c.c+=	-I${BACKENDOBJ}
 BUILDSYMLINKS+= ${GNUHOSTDIST}/gcc/config/sh/sh-c.cc sh-c.c
 .endif

-.if ${MACHINE_CPU} == "vax"
-COPTS.c-decl.c+=-O0
-COPTS.c-typeck.c+=-O0
-COPTS.c-array-notation.c+=-O0
-COPTS.c-common.c+=-O0
-COPTS.c-ada-spec.c+=-O0
-COPTS.cilk.c+=-O0
-COPTS.c-ubsan.c+=-O0
-COPTS.cc1-checksum.c+=-O0
-.endif
-
 .if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
 COPTS.c-common.c+=-O3
 .endif
diff --git a/external/gpl3/gcc.old/usr.bin/cc1obj/Makefile b/external/gpl3/gcc.old/usr.bin/cc1obj/Makefile
index 3123ee0d60b..aab82ad3448 100644
--- a/external/gpl3/gcc.old/usr.bin/cc1obj/Makefile
+++ b/external/gpl3/gcc.old/usr.bin/cc1obj/Makefile
@@@@ -44,16 +44,8 @@@@ COPTS.objc-act.c+=			-Wno-stack-protector
 COPTS.objc-gnu-runtime-abi-01.c+=	-Wno-stack-protector
 COPTS.objc-next-runtime-abi-01.c+=	-Wno-stack-protector

-.if ${MACHINE_ARCH} == "vax"
-COPTS.c-decl.c+=-O0
-COPTS.c-typeck.c+=-O0
-COPTS.c-array-notation.c+=-O0
-COPTS.c-common.c+=-O0
-COPTS.c-ada-spec.c+=-O0
-COPTS.cilk.c+=-O0
-COPTS.c-ubsan.c+=-O0
-COPTS.cc1obj-checksum.c+=-O0
-.endif
+COPTS.c-cppbuiltin.c+=	${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=format-overflow :}
+COPTS.c-typeck.c+=	${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=format-overflow :}

 .if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
 COPTS.c-common.c+=-O3
diff --git a/external/gpl3/gcc.old/usr.bin/cc1objplus/Makefile b/external/gpl3/gcc.old/usr.bin/cc1objplus/Makefile
index b9c108251c5..e04e8fc7f53 100644
--- a/external/gpl3/gcc.old/usr.bin/cc1objplus/Makefile
+++ b/external/gpl3/gcc.old/usr.bin/cc1objplus/Makefile
@@@@ -69,18 +69,6 @@@@ COPTS.objc-act.c+=			-Wno-stack-protector
 COPTS.objc-gnu-runtime-abi-01.c+=	-Wno-stack-protector
 COPTS.objc-next-runtime-abi-01.c+=	-Wno-stack-protector

-.if ${MACHINE_ARCH} == "vax"
-COPTS.c-decl.c+=-O0
-COPTS.c-typeck.c+=-O0
-COPTS.c-array-notation.c+=-O0
-COPTS.c-common.c+=-O0
-COPTS.c-ada-spec.c+=-O0
-COPTS.cilk.c+=-O0
-COPTS.c-ubsan.c+=-O0
-COPTS.cc1obj-checksum.c+=-O0
-COPTS.decl.c+=-O0
-.endif
-
 .if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
 COPTS.c-common.c+=-O3
 .endif
diff --git a/external/gpl3/gcc.old/usr.bin/cc1plus/Makefile b/external/gpl3/gcc.old/usr.bin/cc1plus/Makefile
index 7936efd3a5e..7c54559e21a 100644
--- a/external/gpl3/gcc.old/usr.bin/cc1plus/Makefile
+++ b/external/gpl3/gcc.old/usr.bin/cc1plus/Makefile
@@@@ -31,23 +31,6 @@@@ CHECKSUM_OBJS= ${LIBBACKTRACEOBJ}/libbacktrace.a \

 CFLAGS+=	-Wno-error=stack-protector

-.if ${MACHINE_ARCH} == "vax"
-COPTS.call.c+=-O0
-COPTS.decl.c+=-O0
-COPTS.typeck2.c+=-O0
-COPTS.class.c+=-O0
-COPTS.typeck.c+=-O0
-COPTS.init.c+=-O0
-COPTS.semantics.c+=-O0
-COPTS.mangle.c+=-O0
-COPTS.constexpr.c+=-O0
-COPTS.c-common.c+=-O0
-COPTS.c-ada-spec.c+=-O0
-COPTS.cilk.c+=-O0
-COPTS.c-ubsan.c+=-O0
-COPTS.cc1plus-checksum.c+=-O0
-.endif
-
 .if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
 COPTS.c-common.c+=-O3
 .endif
diff --git a/external/gpl3/gcc.old/usr.bin/gcc/Makefile b/external/gpl3/gcc.old/usr.bin/gcc/Makefile
index 7a66d77ffc7..a5a4b1c3adf 100644
--- a/external/gpl3/gcc.old/usr.bin/gcc/Makefile
+++ b/external/gpl3/gcc.old/usr.bin/gcc/Makefile
@@@@ -25,9 +25,6 @@@@ ${SRCS}: ${GCCARCH}/defs.mk
 .include <bsd.info.mk>

 COPTS.gcc.c=	-Wno-stack-protector
-.if ${MACHINE_ARCH} == "vax"
-COPTS.dse.c=	-O1
-.endif

 .PATH: ${DIST}/gcc ${DIST}/gcc/doc ${DIST}/gcc/c

diff --git a/external/gpl3/gcc.old/usr.bin/libdecnumber/Makefile b/external/gpl3/gcc.old/usr.bin/libdecnumber/Makefile
index 751d1513eec..33aeb1c9898 100644
--- a/external/gpl3/gcc.old/usr.bin/libdecnumber/Makefile
+++ b/external/gpl3/gcc.old/usr.bin/libdecnumber/Makefile
@@@@ -14,10 +14,6 @@@@ SRCS=		decNumber.c decContext.c decimal32.c decimal64.c decimal128.c
 CPPFLAGS+=	-I${.CURDIR}/arch/${GCC_MACHINE_ARCH} -I${DIST}/libdecnumber
 CPPFLAGS+=	-I${DIST}/libgcc

-.if ${MACHINE_ARCH} == "vax"
-COPTS.decNumber.c=-O0
-.endif
-
 .include <bsd.lib.mk>

 # Force using C++ for this
diff --git a/external/gpl3/gcc.old/usr.bin/lto-dump/Makefile b/external/gpl3/gcc.old/usr.bin/lto-dump/Makefile
index 90f44a9fcf6..fd251464fb7 100644
--- a/external/gpl3/gcc.old/usr.bin/lto-dump/Makefile
+++ b/external/gpl3/gcc.old/usr.bin/lto-dump/Makefile
@@@@ -24,11 +24,6 @@@@ COPTS.lto-common.c+=	-Wno-stack-protector
 .include "../Makefile.backtrace"
 .include "../Makefile.libdecnumber"

-.if ${MACHINE_ARCH} == "vax"
-COPTS.lto-lang.c+=-O0
-COPTS.lto-symtab.c+=-O0
-.endif
-
 LDADD+=	${LIBIBERTY} ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
 DPADD+=	${LIBIBERTY} ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}

diff --git a/external/gpl3/gcc.old/usr.bin/lto1/Makefile b/external/gpl3/gcc.old/usr.bin/lto1/Makefile
index 4c49161a64c..340d3c6124f 100644
--- a/external/gpl3/gcc.old/usr.bin/lto1/Makefile
+++ b/external/gpl3/gcc.old/usr.bin/lto1/Makefile
@@@@ -21,11 +21,6 @@@@ COPTS.lto-common.c+=	-Wno-stack-protector
 .include "../Makefile.libcpp"
 .include "../Makefile.libdecnumber"

-.if ${MACHINE_ARCH} == "vax"
-COPTS.lto-lang.c+=-O0
-COPTS.lto-symtab.c+=-O0
-.endif
-
 LDADD+= ${LIBIBERTYOBJ}/libiberty.a
 DPADD+= ${LIBIBERTYOBJ}/libiberty.a
 LDADD+=	${LIBIBERTY} ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
diff --git a/external/gpl3/gdb.old/lib/libdecnumber/Makefile b/external/gpl3/gdb.old/lib/libdecnumber/Makefile
index bcd4ae5b222..ce28811526b 100644
--- a/external/gpl3/gdb.old/lib/libdecnumber/Makefile
+++ b/external/gpl3/gdb.old/lib/libdecnumber/Makefile
@@@@ -18,10 +18,6 @@@@ CPPFLAGS+=	-I${.CURDIR}/arch/${GDB_MACHINE_ARCH} \

 SRCS=		${G_OBJS:.o=.c} ${G_SOURCES}

-.if ${MACHINE_ARCH} == "vax"
-COPTS.decNumber.c=-O0
-.endif
-
 .PATH: ${DIST}/libdecnumber ${DIST}/libdecnumber/dpd

 .include <bsd.lib.mk>
diff --git a/external/gpl3/gdb/lib/libdecnumber/Makefile b/external/gpl3/gdb/lib/libdecnumber/Makefile
index c95d36e3dfa..e3169865304 100644
--- a/external/gpl3/gdb/lib/libdecnumber/Makefile
+++ b/external/gpl3/gdb/lib/libdecnumber/Makefile
@@@@ -18,10 +18,6 @@@@ CPPFLAGS+=	-I${.CURDIR}/arch/${GDB_MACHINE_ARCH} \

 SRCS=		${G_OBJS:.o=.c} ${G_SOURCES}

-.if ${MACHINE_ARCH} == "vax"
-COPTS.decNumber.c=-O0
-.endif
-
 .PATH: ${DIST}/libdecnumber ${DIST}/libdecnumber/dpd ${DIST}/libdecnumber/bid

 .include <bsd.lib.mk>
diff --git a/external/gpl3/gdb/lib/libgdb/Makefile b/external/gpl3/gdb/lib/libgdb/Makefile
index b87a515d13a..c118c363975 100644
--- a/external/gpl3/gdb/lib/libgdb/Makefile
+++ b/external/gpl3/gdb/lib/libgdb/Makefile
@@@@ -66,12 +66,6 @@@@ CFLAGS:=		${CXXFLAGS} -std=gnu++17 -Wno-error=stack-protector

 ada-exp.c: ada-lex.c

-.if ${MACHINE} == "vax"
-. if ${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 8
-COPTS.read.c+=	-O0
-. endif
-.endif
-
 # These are generated by implicit rules and are not easy to generate
 CLEANDIRFILES+= \
 	ada-exp.c ada-lex.c \
diff --git a/external/mit/xorg/lib/gallium.old/Makefile b/external/mit/xorg/lib/gallium.old/Makefile
index 55b2fe3d1c1..bfa40c8974f 100644
--- a/external/mit/xorg/lib/gallium.old/Makefile
+++ b/external/mit/xorg/lib/gallium.old/Makefile
@@@@ -1211,10 +1211,6 @@@@ SYMLINKS+= gallium_dri.so.${SHLIB_MAJOR}.debug ${DRIDEBUGDIR}/${_d}_dri.so.${SHL
 COPTS+=	${${ACTIVE_CC} == "clang":? -Wa,-Av8plus  :}
 .endif

-.if ${MACHINE_ARCH} == "vax"
-COPTS.nir.c += -O1
-.endif
-
 # XXXGCC12
 .if ${MACHINE_ARCH} == "m68k"
 COPTS.st_glsl_to_tgsi.cpp += -O1
diff --git a/external/mit/xorg/lib/gallium/Makefile b/external/mit/xorg/lib/gallium/Makefile
index 6778a8c11c8..9f1422080fe 100644
--- a/external/mit/xorg/lib/gallium/Makefile
+++ b/external/mit/xorg/lib/gallium/Makefile
@@@@ -1428,10 +1428,6 @@@@ SYMLINKS+= gallium_dri.so.${SHLIB_MAJOR}.debug ${DRIDEBUGDIR}/${_d}_dri.so.${SHL
 COPTS+=	${${ACTIVE_CC} == "clang":? -Wa,-Av8plus  :}
 .endif

-.if ${MACHINE_ARCH} == "vax"
-COPTS.nir.c += -O1
-.endif
-
 COPTS.u_atomic.c+=	${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -Wno-builtin-declaration-mismatch :}

 .include <bsd.lib.mk>
diff --git a/external/mit/xorg/lib/libX11/Makefile.libx11 b/external/mit/xorg/lib/libX11/Makefile.libx11
index e103d9ace12..0e55c2a4732 100644
--- a/external/mit/xorg/lib/libX11/Makefile.libx11
+++ b/external/mit/xorg/lib/libX11/Makefile.libx11
@@@@ -471,11 +471,6 @@@@ COPTS.OpenDis.c+=	-Wno-error	# XXX xf86bigfstr.h
 COPTS.XlibInt.c+=	-Wno-error	# XXX xcmiscstr.h
 COPTS.XKBBind.c+=	-Wno-deprecated-declarations	# uses XKeycodeToKeysym

-# XXX
-.if ${MACHINE} == "vax"
-COPTS.lcWrap.c+=	-O0
-.endif
-
 CWARNFLAGS.clang+=	-Wno-string-plus-int

 .include "${NETBSDSRCDIR}/external/mit/xorg/tools/makekeys/Makefile.makekeys"
diff --git a/games/gomoku/Makefile b/games/gomoku/Makefile
index e86a63aaea7..678537066ed 100644
--- a/games/gomoku/Makefile
+++ b/games/gomoku/Makefile
@@@@ -9,10 +9,6 @@@@ LDADD=	-lcurses -lterminfo
 HIDEGAME=hidegame
 CPPFLAGS+=	${DEBUG:D-DDEBUG}

-.if ${MACHINE} == "vax"
-COPTS.pickmove.c += -O0
-.endif
-
 #WARNS=		6	# would produce warnings about small integer types
 LINTFLAGS+=	-w	# treat warnings as errors
 LINTFLAGS+=	-T	# strict bool mode
diff --git a/games/phantasia/Makefile b/games/phantasia/Makefile
index e9c53f23ae5..b919dac17c6 100644
--- a/games/phantasia/Makefile
+++ b/games/phantasia/Makefile
@@@@ -52,7 +52,3 @@@@ map: map.c
 	./map | plot > /dev/tty

 .include <bsd.prog.mk>
-
-.if defined(HAVE_GCC) && ${MACHINE_ARCH} == "vax"
-COPTS.misc.c+=	-O0
-.endif
diff --git a/lib/i18n_module/UTF7/Makefile b/lib/i18n_module/UTF7/Makefile
index 712c1515d42..7136f7f0cc3 100644
--- a/lib/i18n_module/UTF7/Makefile
+++ b/lib/i18n_module/UTF7/Makefile
@@@@ -3,6 +3,3 @@@@
 SRCPRE=citrus_
 .include <bsd.lib.mk>

-.if ${MACHINE_ARCH} == "vax" && defined(HAVE_GCC)
-COPTS.citrus_utf7.c+=	-O0
-.endif
diff --git a/lib/libbz2/Makefile b/lib/libbz2/Makefile
index b2aea1e04b0..e60a2862d48 100644
--- a/lib/libbz2/Makefile
+++ b/lib/libbz2/Makefile
@@@@ -15,11 +15,6 @@@@ SRCS=		blocksort.c huffman.c crctable.c randtable.c compress.c \
 INCS=		bzlib.h
 INCSDIR=	/usr/include

-# XXX huffman.c gets mis-compiled with 2.95.3
-.if ${MACHINE_ARCH} == "vax"
-COPTS+=		-O0
-.endif
-
 COPTS+=		${CC_WNO_IMPLICIT_FALLTHROUGH}

 # XXX blocksort.c gets mis-compiled with 4.1
diff --git a/lib/libc/gdtoa/Makefile.inc b/lib/libc/gdtoa/Makefile.inc
index 132686fc33d..609da919803 100644
--- a/lib/libc/gdtoa/Makefile.inc
+++ b/lib/libc/gdtoa/Makefile.inc
@@@@ -44,10 +44,3 @@@@ SRCS+=	dmisc.c \
 .if ${MACHINE_ARCH} != "vax"
 SRCS+=	strtord.c
 .endif
-
-# XXX revisit with newer GCC.
-# Ensure numbers like 0xffff319f5fa95963 print correctly
-# ("999999999999999.98", not garbage like "?A>C>@@>C:BA;A><.:<")
-.if ${MACHINE_ARCH} == "vax" && defined(HAVE_GCC)
-COPTS.misc.c+=	-O0
-.endif
diff --git a/lib/libcrypt/Makefile b/lib/libcrypt/Makefile
index cb3f89d6d09..e9c8be820da 100644
--- a/lib/libcrypt/Makefile
+++ b/lib/libcrypt/Makefile
@@@@ -30,9 +30,6 @@@@ SRCS+=		crypt-argon2.c
 SRCS+=		${src}
 COPTS.${src}+=	-fvisibility=hidden
 .  endfor
-.  if ${MACHINE} == "vax"
-COPTS.blake2b.c+=	-O0
-.  endif
 .endif

 WARNS?=	5
diff --git a/libexec/ld.elf_so/Makefile b/libexec/ld.elf_so/Makefile
index f5baae1e883..24f7e1121e5 100644
--- a/libexec/ld.elf_so/Makefile
+++ b/libexec/ld.elf_so/Makefile
@@@@ -141,10 +141,6 @@@@ CPPFLAGS+=	-DRTLD_DEFAULT_LIBRARY_PATH=\"${SHLIBDIR}:${LIBDIR}\"
 COPTS.rtld.c+=	-Wno-stack-protector
 COPTS.symbol.c+=-Wno-stack-protector

-.if ${MACHINE_CPU} == "vax"
-COPTS.rtld.c+=	-O0
-.endif
-
 LDADD+=		-Wl,--version-script=${.CURDIR}/symbols.map
 LDADD+=		-L${CLIBOBJ} -L${DESTDIR}${LIBDIR}
 .if ${MKPICLIB} != "no"
diff --git a/sbin/fsck_ffs/Makefile.common b/sbin/fsck_ffs/Makefile.common
index 765638b2801..824e3bf2628 100644
--- a/sbin/fsck_ffs/Makefile.common
+++ b/sbin/fsck_ffs/Makefile.common
@@@@ -36,7 +36,3 @@@@ COPTS.ffs_appleufs.c+=	-Wno-pointer-sign
 .if ${MACHINE_ARCH} == "m68000"
 COPTS.pass1.c+=	-fno-tree-fre -fno-tree-lrs
 .endif
-.if ${MACHINE_ARCH} == "vax"
-COPTS.pass1.c+=	-O0
-COPTS.inode.c+=	-O0
-.endif
diff --git a/sbin/fsdb/Makefile b/sbin/fsdb/Makefile
index c039f73a1eb..3b0331e5880 100644
--- a/sbin/fsdb/Makefile
+++ b/sbin/fsdb/Makefile
@@@@ -39,12 +39,6 @@@@ COPTS.${f}.c+=	-Wno-pointer-sign
 COPTS.pass1.c+=	-fno-tree-fre -fno-tree-lrs
 .endif

-.if ${MACHINE_ARCH} == "vax"
-COPTS.pass1.c+=	-O0
-COPTS.inode.c+=	-O0
-COPTS.fsdb.c+=	-O0
-.endif
-
 CWARNFLAGS.gcc+=	${CC_WNO_ADDRESS_OF_PACKED_MEMBER}

 .include <bsd.prog.mk>
diff --git a/sbin/newfs_ext2fs/Makefile b/sbin/newfs_ext2fs/Makefile
index 40a44b9a038..ecfdbff4d3a 100644
--- a/sbin/newfs_ext2fs/Makefile
+++ b/sbin/newfs_ext2fs/Makefile
@@@@ -20,8 +20,4 @@@@ DPADD+=${LIBPROP}

 .PATH:	${NETBSDSRCDIR}/sys/ufs/ext2fs ${FSCK}

-.if ${MACHINE_ARCH} == "vax"
-COPTS.mke2fs.c=-O0
-.endif
-
 .include <bsd.prog.mk>
diff --git a/sbin/ping/Makefile b/sbin/ping/Makefile
index 4f33501ea7a..1f7f56e3ea5 100644
--- a/sbin/ping/Makefile
+++ b/sbin/ping/Makefile
@@@@ -12,8 +12,4 @@@@ CPPFLAGS+=	-DIPSEC
 LDADD+= -lipsec
 DPADD+= ${LIBIPSEC}

-.if ${MACHINE_ARCH} == "vax"
-COPTS.ping.c=-O0
-.endif
-
 .include <bsd.prog.mk>
diff --git a/sys/arch/vax/conf/Makefile.vax b/sys/arch/vax/conf/Makefile.vax
index cf095d54a86..c483eaa644a 100644
--- a/sys/arch/vax/conf/Makefile.vax
+++ b/sys/arch/vax/conf/Makefile.vax
@@@@ -34,7 +34,6 @@@@ GENASSYM_CONF=	${VAX}/vax/genassym.cf
 CPPFLAGS+=	-D_VAX_INLINE_
 AFLAGS+=	-x assembler-with-cpp -fno-pic
 CFLAGS+=	-fno-pic
-COPTS.wsmux.c+=	${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 9:? -O1 :}


 ##
diff --git a/sys/lib/libsa/Makefile b/sys/lib/libsa/Makefile
index 718c97ce857..4ef3840c753 100644
--- a/sys/lib/libsa/Makefile
+++ b/sys/lib/libsa/Makefile
@@@@ -96,7 +96,3 @@@@ SRCS+=	ufs.c
 lib${LIB}.o:: ${OBJS:O} __buildstdlib

 CPPFLAGS+=	-Wno-pointer-sign
-
-.if defined(HAVE_GCC) && ${MACHINE_ARCH} == "vax"
-COPTS.bootp.c+=	-O0
-.endif
diff --git a/sys/lib/libz/Makefile b/sys/lib/libz/Makefile
index 6945c0da6c6..61fb7d4f652 100644
--- a/sys/lib/libz/Makefile
+++ b/sys/lib/libz/Makefile
@@@@ -25,7 +25,3 @@@@ CLEANFILES+= lib${LIB}.o
 .include <bsd.lib.mk>

 lib${LIB}.o:: ${OBJS:O} __buildstdlib
-
-.if defined(HAVE_GCC) && ${MACHINE_ARCH} == "vax"
-COPTS.inftrees.c+=	-O0
-.endif
diff --git a/sys/modules/lfs/Makefile b/sys/modules/lfs/Makefile
index 962538821a5..ea8f187e160 100644
--- a/sys/modules/lfs/Makefile
+++ b/sys/modules/lfs/Makefile
@@@@ -18,9 +18,4 @@@@ SRCS+=	ulfs_bmap.c ulfs_dirhash.c ulfs_inode.c ulfs_lookup.c \

 WARNS=	3

-.if ${MACHINE} == "vax"
-# GCC 6.5 and 7.4 cannot compile this with -DDIAGNOSTIC and -O2/-O1
-COPTS.lfs_inode.c+=	-O0
-.endif
-
 .include <bsd.kmodule.mk>
diff --git a/sys/rump/fs/lib/liblfs/Makefile b/sys/rump/fs/lib/liblfs/Makefile
index abade3767d9..68b74c62502 100644
--- a/sys/rump/fs/lib/liblfs/Makefile
+++ b/sys/rump/fs/lib/liblfs/Makefile
@@@@ -17,9 +17,6 @@@@ SRCS+=	ulfs_bmap.c ulfs_dirhash.c ulfs_extattr.c 			\


 CFLAGS+=        -DLFS_KERNEL_RFW
-.if ${MACHINE_ARCH} == "vax"
-COPTS.lfs_inode.c+=-O0
-.endif

 .include <bsd.lib.mk>
 .include <bsd.klinks.mk>
diff --git a/usr.sbin/mtrace/Makefile b/usr.sbin/mtrace/Makefile
index aef09db6198..9c125c15265 100644
--- a/usr.sbin/mtrace/Makefile
+++ b/usr.sbin/mtrace/Makefile
@@@@ -12,10 +12,6 @@@@ PROG=	mtrace
 SRCS=	igmp.c inet.c kern.c mtrace.c
 MAN=	mtrace.8

-.if ${MACHINE_ARCH} == "vax"
-COPTS.mtrace.c=-O0
-.endif
-
 BINMODE=4555
 BINOWN= root

diff --git a/external/gpl3/gcc.old/usr.bin/backend/Makefile b/external/gpl3/gcc.old/usr.bin/backend/Makefile
index d69a26fe619..99e881c783d 100644
--- a/external/gpl3/gcc.old/usr.bin/backend/Makefile
+++ b/external/gpl3/gcc.old/usr.bin/backend/Makefile
@@@@ -533,68 +533,9 @@@@ COPTS.insn-recog.c+=-Wno-error

 .if ${GCC_MACHINE_ARCH} == "vax"
 CPPFLAGS+=-I${.CURDIR}/../../lib/libgcc/libgcov/arch/${GCC_MACHINE_ARCH}
-COPTS.builtins.c+=-O0
-COPTS.calls.c+=-O0
-COPTS.convert.c+=-O0
-COPTS.data-streamer-out.c+=-O0
-COPTS.dse.c+=-O0					# XXX port-vax/51967
-COPTS.dwarf2out.c+=-O0
-COPTS.expmed.c+=-O0
-COPTS.expr.c+=-O0 -Wno-error=tautological-compare
-COPTS.fixed-value.c+=-O0
-COPTS.fold-const.c+=-O0
-COPTS.generic-match.c+=-O0
-COPTS.gimple-fold.c+=-O0
-COPTS.gimple-match.c+=-O0
-COPTS.gimple-ssa-strength-reduction.c+=-O0
-COPTS.gimple-ssa-warn-restrict.c+=-O0
-COPTS.gimple.c+=-O0
-COPTS.internal-fn.c+=-O0
-COPTS.lto-streamer-out.c+=-O0
-COPTS.omp-low.c+=-O0
-COPTS.predict.c+=-O0
-COPTS.range-op.cc+=-O0
-COPTS.recog.c+=-O0
-COPTS.sanopt.c+=-O0
-COPTS.stmt.c+=-O0
-COPTS.stor-layout.c+=-O0
-COPTS.targhooks.c+=-O0
-COPTS.tree-affine.c+=-O0
-COPTS.tree-cfg.c+=-O0
-COPTS.tree-data-ref.c+=-O0
-COPTS.tree-eh.c+=-O0
-COPTS.tree-if-conv.c+=-O0
-COPTS.tree-object-size.c+=-O0
-COPTS.tree-parloops.c+=-O0
-COPTS.tree-predcom.c+=-O0
-COPTS.tree-pretty-print.c+=-O0
-COPTS.tree-ssa-alias.c+=-O0
-COPTS.tree-ssa-ccp.c+=-O0
-COPTS.tree-ssa-forwprop.c+=-O0
-COPTS.tree-ssa-loop-ivopts.c+=-O0
-COPTS.tree-ssa-loop-manip.c+=-O0
-COPTS.tree-ssa-loop-niter.c+=-O0
-COPTS.tree-ssa-math-opts.c+=-O0
-COPTS.tree-ssa-phiopt.c+= -O0
-COPTS.tree-ssa-pre.c+=-O0
-COPTS.tree-ssa-reassoc.c+=-O0
-COPTS.tree-ssa-strlen.c+=-O0
-COPTS.tree-ssa-uninit.c+=-O0
-COPTS.tree-ssa.c+=-O0
-COPTS.tree-switch-conversion.c+=-O0
-COPTS.tree-vect-data-refs.c+=-O0
-COPTS.tree-vect-loop-manip.c+=-O0
-COPTS.tree-vect-loop.c+=-O0
-COPTS.tree-vect-patterns.c+=-O0
-COPTS.tree-vect-stmts.c+=-O0
-COPTS.tree-vrp.c+=-O0
-COPTS.tree.c+=-O0
-COPTS.ubsan.c+=-O0
-COPTS.varasm.c+=-O0
-COPTS.vr-values.c+=-O0
-COPTS.web.c+=-O0
-COPTS.wide-int-range.cc+=-O0
-COPTS.wide-int.cc+=-O0
+
+COPTS.expmed.c+=-Wno-error=tautological-compare
+COPTS.expr.c+=-Wno-error=tautological-compare
 .else
 COPTS.tree.c=	${${ACTIVE_CC} == "clang" :? -O0 :}
 .endif
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2020/09/07 03:09:53 mrg Exp $
d10 3
a12 2
	lfs_inode.c lfs_itimes.c lfs_pages.c lfs_rename.c lfs_rfw.c	\
	lfs_segment.c lfs_subr.c lfs_syscalls.c lfs_vfsops.c lfs_vnops.c
@


1.18.6.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2025/11/06 15:45:32 perseant Exp $
d10 2
a11 3
	lfs_inode.c lfs_itimes.c lfs_kclean.c lfs_pages.c lfs_rename.c	\
	lfs_rfw.c lfs_segment.c lfs_subr.c lfs_syscalls.c lfs_vfsops.c	\
	lfs_vnops.c
@


1.17
log
@remove GCC_NO_ADDR_OF_PACKED_MEMBER for several subdir builds
that are now handled by lfs_accessors.h internally.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2020/09/06 07:20:30 mrg Exp $
a19 3
.if ${MACHINE_ARCH} == "vax"
COPTS.lfs_inode.c+=-O0
.endif
@


1.17.20.1
log
@Pull up following revision(s) (requested by rin in ticket #394):

	external/gpl3/binutils/dist/gas/config/tc-vax.h: revision 1.10
	tools/gcc/Makefile: revision 1.109
	external/gpl3/binutils/dist/gas/config/tc-vax.c: revision 1.16
	external/gpl3/binutils/dist/gas/config/tc-vax.c: revision 1.17
	external/gpl3/binutils/dist/gas/config/tc-vax.c: revision 1.18
	external/gpl3/gcc.old/dist/gcc/recog.c: revision 1.12
	external/gpl3/gcc.old/dist/gcc/function.c: revision 1.16
	external/gpl3/gcc.old/dist/gcc/dse.c: revision 1.14 - 1.16
	external/gpl3/gcc.old/dist/gcc/config/vax/vax.c: revision 1.13
	external/gpl3/gcc.old/dist/gcc/config/vax/vax.c: revision 1.14
	external/gpl3/gcc.old/dist/gcc/config/vax/vax.c: revision 1.15
	external/gpl3/gcc.old/dist/gcc/doc/tm.texi.in: revision 1.10
	external/gpl3/gcc.old/dist/gcc/config/vax/vax.c: revision 1.16
	external/gpl3/gcc.old/dist/gcc/config/vax/vax.c: revision 1.17
	external/gpl3/gcc.old/dist/gcc/config/vax/vax.c: revision 1.18
	external/gpl3/gcc.old/dist/gcc/config/vax/vax.c: revision 1.19
	external/gpl3/gcc.old/dist/gcc/config/vax/vax.md: revision 1.12
	external/gpl3/gcc.old/dist/gcc/config/vax/vax.md: revision 1.13
	external/gpl3/gcc.old/usr.bin/backend/Makefile: revision 1.20
	external/gpl3/gcc.old/dist/gcc/targhooks.c: revision 1.12
	external/gpl3/gcc.old/dist/gcc/config/vax/vax.md: revision 1.14
	external/gpl3/gcc.old/dist/gcc/config/vax/vax.md: revision 1.15
	external/gpl3/gcc.old/dist/gcc/config/vax/builtins.md: revision 1.12
	external/gpl3/gcc.old/dist/gcc/config/vax/vax.md: revision 1.16
	external/gpl3/gcc.old/dist/gcc/config/vax/builtins.md: revision 1.13
	external/gpl3/gcc.old/dist/gcc/doc/tm.texi: revision 1.12
	external/gpl3/gcc.old/dist/gcc/config/vax/vax.md: revision 1.17
	external/gpl3/gcc.old/dist/gcc/config/vax/vax.md: revision 1.18
	external/gpl3/gcc.old/dist/gcc/config/vax/elf.h: revision 1.12
	external/gpl3/gcc.old/dist/gcc/config/vax/elf.h: revision 1.13
	external/gpl3/gcc.old/dist/gcc/targhooks.h: revision 1.12
	external/gpl3/gcc.old/dist/gcc/target.def: revision 1.10
	external/gpl3/gcc.old/dist/gcc/rtlanal.c: revision 1.14
	external/gpl3/gcc.old/dist/gcc/reload.c: revision 1.12
	external/gpl3/gcc.old/usr.bin/gcc/Makefile: revision 1.11
	external/gpl3/gcc.old/usr.bin/lto-dump/Makefile: revision 1.3
	external/gpl3/gcc.old/lib/Makefile.sanitizer: revision 1.7
	external/gpl3/binutils.old/lib/libbfd/Makefile: revision 1.10
	distrib/utils/x_ping/Makefile: revision 1.9
	games/phantasia/Makefile: revision 1.38
	external/apache2/argon2/lib/libargon2/Makefile.inc: revision 1.2
	external/gpl3/gcc.old/lib/libubsan/Makefile: revision 1.8
	external/bsd/mdocml/lib/libmandoc/Makefile: revision 1.13
	sbin/ping/Makefile: revision 1.18
	sbin/newfs_ext2fs/Makefile: revision 1.7
	sys/lib/libz/Makefile: revision 1.24
	sys/lib/libsa/Makefile: revision 1.97
	external/gpl3/gcc.old/usr.bin/cc1objplus/Makefile: revision 1.3
	external/gpl3/gdb/lib/libgdb/Makefile: revision 1.36
	sys/modules/lfs/Makefile: revision 1.11
	external/mit/xorg/lib/gallium/Makefile: revision 1.51
	external/gpl3/gdb.old/lib/libdecnumber/Makefile: revision 1.10
	external/mit/xorg/lib/libX11/Makefile.libx11: revision 1.26
	libexec/ld.elf_so/Makefile: revision 1.148
	external/bsd/jemalloc/lib/Makefile.inc: revision 1.16
	external/gpl3/gcc.old/usr.bin/libdecnumber/Makefile: revision 1.14
	crypto/external/bsd/openssh/lib/Makefile: revision 1.38
	external/gpl3/gcc.old/usr.bin/backend/Makefile: revision 1.21
	external/gpl3/gcc.old/usr.bin/cc1/Makefile: revision 1.12
	external/gpl3/gcc.old/lib/libasan/Makefile: revision 1.11
	external/gpl3/gcc.old/usr.bin/cc1plus/Makefile: revision 1.13
	lib/libcrypt/Makefile: revision 1.36
	external/gpl3/gdb/lib/libdecnumber/Makefile: revision 1.5
	lib/libc/gdtoa/Makefile.inc: revision 1.13
	games/gomoku/Makefile: revision 1.13
	sbin/fsdb/Makefile: revision 1.43
	external/gpl3/gcc.old/usr.bin/lto1/Makefile: revision 1.9
	external/mit/xorg/lib/gallium.old/Makefile: revision 1.8
	lib/libbz2/Makefile: revision 1.22
	external/gpl3/gcc.old/usr.bin/cc1obj/Makefile: revision 1.12
	usr.sbin/mtrace/Makefile: revision 1.14
	external/gpl3/gcc.old/usr.bin/cc1obj/Makefile: revision 1.13
	sys/arch/vax/conf/Makefile.vax: revision 1.86
	sys/rump/fs/lib/liblfs/Makefile: revision 1.18
	sbin/fsck_ffs/Makefile.common: revision 1.3
	external/gpl3/binutils/lib/libbfd/Makefile: revision 1.27
	lib/i18n_module/UTF7/Makefile: revision 1.5
	external/gpl3/gcc.old/lib/liblsan/Makefile: revision 1.7
	doc/CHANGES (apply patch)
	(all external/gpl3/gcc.old/ changes applied to external/gpl3/gcc/)

PR 57646: Import major vax toolchain fix.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2020/09/07 03:09:53 mrg Exp $
d20 3
@


1.16
log
@add support for new GCC 9 warnings that may be too much to fix
right now.  new address-of-packed-member and format-overflow
warnings have new GCC_NO_ADDR_OF_PACKED_MEMBER amd
GCC_NO_FORMAT_OVERFLOW variables to remove these warnings.

apply to a bunch of the tree.  mostly, these are real bugs that
should be fixed, but in many cases, only by removing the 'packed'
attribute from some structure that doesn't really need it.  (i
looked at many different ones, and while perhaps 60-80% were
already properly aligned, it wasn't clear to me that the uses
were always coming from sane data vs network alignment, so it
doesn't seem safe to remove packed without careful research for
each affect struct.)  clang already warned (and was not erroring)
for many of these cases, but gcc picked up dozens more.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2020/03/21 18:58:43 riastradh Exp $
a23 6
# Follow the suit of Makefile.kern.inc; needed for the lfs64 union
# accessors -- they don't actually dereference the resulting pointer,
# just use it for type-checking.
CWARNFLAGS.clang+=	-Wno-error=address-of-packed-member
CWARNFLAGS.gcc+=	${GCC_NO_ADDR_OF_PACKED_MEMBER}

@


1.15
log
@Suppress spurious address-of-packed error in rump lfs too.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2016/03/23 21:38:51 christos Exp $
d28 1
@


1.14
log
@elide vax compiler bug.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2015/10/19 16:16:36 pooka Exp $
d24 5
@


1.14.22.1
log
@Pull up following revision(s) (requested by riastradh in ticket #1050):

	sys/ufs/lfs/lfs_subr.c: revision 1.101
	sys/ufs/lfs/lfs_subr.c: revision 1.102
	sys/ufs/lfs/lfs_inode.c: revision 1.158
	sys/ufs/lfs/lfs_inode.h: revision 1.25
	sys/ufs/lfs/lfs_balloc.c: revision 1.95
	sys/ufs/lfs/lfs_pages.c: revision 1.21
	sys/ufs/lfs/lfs_vnops.c: revision 1.330
	sys/ufs/lfs/lfs_alloc.c: revision 1.140 (patch)
	sys/ufs/lfs/lfs_alloc.c: revision 1.141 (patch)
	lib/libp2k/p2k.c: revision 1.72
	sys/ufs/lfs/lfs.h: revision 1.205
	sys/ufs/lfs/lfs.h: revision 1.206
	sys/ufs/lfs/lfs_segment.c: revision 1.284
	sys/ufs/lfs/lfs.h: revision 1.207
	sys/ufs/lfs/lfs_segment.c: revision 1.285
	sys/ufs/lfs/lfs_debug.c: revision 1.55
	sys/ufs/lfs/lfs_rename.c: revision 1.23
	usr.sbin/dumplfs/dumplfs.c: revision 1.65
	sys/ufs/lfs/lfs_vfsops.c: revision 1.371
	sys/arch/i386/stand/efiboot/bootx64/Makefile: revision 1.3
	sys/ufs/lfs/lfs_vfsops.c: revision 1.372
	sys/ufs/lfs/lfs_vfsops.c: revision 1.373
	sbin/fsck_lfs/pass1.c: revision 1.46
	sys/ufs/lfs/lfs_vnops.c: revision 1.326
	sys/ufs/lfs/lfs_vnops.c: revision 1.327
	sys/ufs/lfs/lfs_vfsops.c: revision 1.375 (patch)
	sys/ufs/lfs/lfs_vnops.c: revision 1.328
	sys/ufs/lfs/lfs_subr.c: revision 1.98
	sys/ufs/lfs/lfs_extern.h: revision 1.116
	sys/ufs/lfs/lfs_vnops.c: revision 1.329
	sys/ufs/lfs/lfs_subr.c: revision 1.99
	sys/ufs/lfs/lfs_extern.h: revision 1.117
	sys/ufs/lfs/lfs_accessors.h: revision 1.49
	sys/ufs/lfs/lfs_extern.h: revision 1.118
	sys/rump/fs/lib/liblfs/Makefile: revision 1.15
	sys/ufs/lfs/lfs_bio.c: revision 1.146 (patch)
	sys/ufs/lfs/lfs_bio.c: revision 1.147
	sys/ufs/lfs/lfs_subr.c: revision 1.100

Fix kassert in lfs by initializing vp first.

Use a marker node to iterate lfs_dchainhd / i_lfs_dchain.

I believe elements can be removed while the lock is dropped,
including the next node we're hanging on to.

Just use VOP_BWRITE for lfs_bwrite_log.
Hope this doesn't cause trouble with vfs_suspend.

Teach lfs to transition ro<->rw.

Prevent new dirops while we issue lfs_flush_dirops.

lfs_flush_dirops assumes (by KASSERT((ip->i_state & IN_ADIROP) == 0))
that vnodes on the dchain will not become involved in active dirops
even while holding no other locks (lfs_lock, v_interlock), so we must
set lfs_writer here.  All other callers already set lfs_writer.

We set fs->lfs_writer++ without explicitly doing lfs_writer_enter
because
(a) we already waited for the dirops to drain, and
(b) we hold lfs_lock and cannot drop it before setting lfs_writer.

Assert lfs_writer where I think we can now prove it.

Serialize access to the splay tree with lfs_lock.

Change some cheap KDASSERT into KASSERT.

Take a reference and fix assertions in lfs_flush_dirops.
Fixes panic:
KASSERT((ip->i_state & IN_ADIROP) == 0) at lfs_vnops.c:1670
lfs_flush_dirops
lfs_check
lfs_setattr
VOP_SETATTR
change_mode
sys_fchmod
syscall

This assertion -- and the assertion that vp->v_uflag has VU_DIROP set
-- is valid only until we release lfs_lock, because we may race with
lfs_unmark_dirop which will remove the nodes and change the flags.

Further, vp itself is valid only as long as it is referenced, which it
is as long as it's on the dchain, but lfs_unmark_dirop drops the
dchain's reference.

Don't lfs_writer_enter while holding v_interlock.

There's no need to lfs_writer_enter at all here, as far as I can see.
lfs_flush_fs will do it for us.

Break deadlock in PR kern/52301.

The lock order is lfs_writer -> lfs_seglock.  The problem in 52301 is
that lfs_segwrite violates this lock order by sometimes doing
lfs_seglock -> lfs_writer, either (a) when doing a checkpoint or (b),
opportunistically, when there are no dirops pending.  Both cases can
deadlock, because dirops sometimes take the seglock (lfs_truncate,
lfs_valloc, lfs_vfree):
(a) There may be dirops pending, and they may be waiting for the
seglock, so we can't wait for them to complete while holding the
seglock.
(b) The test for fs->lfs_dirops == 0 happens unlocked, and the state
may change by the time lfs_writer_enter acquires lfs_lock.

To resolve this in each case:
(a) Do lfs_writer_enter before lfs_seglock, since we will need it
unconditionally anyway.  The worst performance impact of this should
be that some dirops get delayed a little bit.
(b) Create a new lfs_writer_tryenter to use at this point so that the
test for fs->lfs_dirops == 0 and the acquisition of lfs_writer happen
atomically under lfs_lock.

Initialize/destroy lfs_allclean_wakeup in modcmd, not lfs_mountfs.

Fixes reloading lfs.kmod.

In lfs_update, hold lfs_writer around lfs_vflush.

Otherwise, we might do
lfs_vflush
-> lfs_seglock
-> lfs_segwait(SEGM_CKP)
   -> lfs_writer_enter
which is the reverse of the lfs_writer -> lfs_seglock ordering.

Call lfs_orphan in lfs_rename while we're still in the dirop.
lfs_writer_enter can't fail; keep it simple and don't pretend it can.

Assert that mtsleep can't fail either -- it doesn't catch signals and
there's no timeout.

Teach LFS_ORPHAN_NEXTFREE about lfs64.

Dust off the orphan detection code and try to make it work.

Fix !DIAGNOSTIC compile

Fix userland references to LFS_ORPHAN_NEXTFREE.

Forgot to grep for these or do a full distribution build, oops!

Fix missing <sys/evcnt.h> by removing the evcnts instead.

Just wanted to confirm that a race might happen, and indeed it did.
These serve little diagnostic value otherwise.

OR into bp->b_cflags; don't overwrite.

CTASSERT lfs on-disk structure sizes.

Avoid misaligned access to lfs64 on-disk records in memory.
lfs64 directory entries are only 32-bit aligned in order to conserve
space in directory blocks, and we had a hack to stuff a 64-bit inode
in them.  This replaces the hack by __aligned(4) __packed, and goes
further:

1. It's not clear that all the other lfs64 data structures are 64-bit
   aligned on disk to begin with.  We can go through these later and
   upgrade them from
        struct foo64 {
                ...
        } __aligned(4) __packed;
        union foo {
                struct foo64 f64;
                ...
        };
   to
        struct foo64 {
                ...
        };
        union foo {
                struct foo64 f64 __aligned(8);
                ...
        } __aligned(4) __packed;
   if we really want to take advantage of 64-bit memory accesses.
   However, the __aligned(4) __packed must remain on the union
   because:
2. We access even the lfs32 data structures via a union that has
   lfs64 members, and it turns out that compilers will assume access
   through a union with 64-bit aligned members implies the whole
   union has 64-bit alignment, even if we're only accessing a 32-bit
   aligned member.

Fix clang build after packed lfs64 accessor change.

Suppress spurious address-of-packed error in rump lfs too.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2016/03/23 21:38:51 christos Exp $
a23 5
# Follow the suit of Makefile.kern.inc; needed for the lfs64 union
# accessors -- they don't actually dereference the resulting pointer,
# just use it for type-checking.
CWARNFLAGS.clang+=	-Wno-error=address-of-packed-member

@


1.14.18.1
log
@Merge changes from current as of 20200406
@
text
@d1 1
a1 1
#	$NetBSD$
a23 5
# Follow the suit of Makefile.kern.inc; needed for the lfs64 union
# accessors -- they don't actually dereference the resulting pointer,
# just use it for type-checking.
CWARNFLAGS.clang+=	-Wno-error=address-of-packed-member

@


1.13
log
@Add a COMMENT describing what each component roughly does.

"make describe" prints the comment.

Requested/inspired by Vincent Schwarzer on rumpkernel-users
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2015/05/31 15:48:02 hannken Exp $
d20 3
@


1.12
log
@Change lfs from hash table to vcache.

- Change lfs_valloc() to return an inode number and version instead of
  a vnode and move lfs_ialloc() and lfs_vcreate() to new lfs_init_vnode().

- Add lfs_valloc_fixed() to allocate a known inode, used by kernel
  roll forward.

- Remove lfs_*ref(), these functions cannot coexist with vcache and
  their commented behaviour is far away from their implementation.

- Add the cleaner lwp and blockinfo to struct ulfsmount so lfs_loadvnode()
  may use hints from the cleaner.

- Remove vnode locks from ulfs_lookup() like we did with ufs_lookup().
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2014/05/16 09:34:03 dholland Exp $
d7 1
@


1.11
log
@Move lfs_getpages and lfs_putpages to their own file.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2014/03/18 18:20:44 riastradh Exp $
d12 1
a12 1
SRCS+=	ulfs_bmap.c ulfs_dirhash.c ulfs_extattr.c ulfs_ihash.c		\
@


1.11.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2015/05/31 15:48:02 hannken Exp $
d12 1
a12 1
SRCS+=	ulfs_bmap.c ulfs_dirhash.c ulfs_extattr.c 			\
@


1.11.4.2
log
@Sync with HEAD (as of 26th Dec)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11.4.1 2015/06/06 14:40:27 skrll Exp $
a6 1
COMMENT=Log-structured File System
@


1.11.4.3
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11.4.2 2015/12/27 12:10:13 skrll Exp $
a19 3
.if ${MACHINE_ARCH} == "vax"
COPTS.lfs_inode.c+=-O0
.endif
@


1.10
log
@Merge riastradh-drm2 to HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8.4.1 2013/07/23 21:07:37 riastradh Exp $
d9 2
a10 2
	lfs_inode.c lfs_itimes.c lfs_rename.c lfs_rfw.c lfs_segment.c	\
	lfs_subr.c lfs_syscalls.c lfs_vfsops.c lfs_vnops.c
@


1.10.2.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2014/05/16 09:34:03 dholland Exp $
d9 2
a10 2
	lfs_inode.c lfs_itimes.c lfs_pages.c lfs_rename.c lfs_rfw.c	\
	lfs_segment.c lfs_subr.c lfs_syscalls.c lfs_vfsops.c lfs_vnops.c
@


1.9
log
@why does rump have to have its own private build system?
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2013/06/08 22:45:28 dholland Exp $
@


1.8
log
@right, why does rump have to have its own copy of all the build information?
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2013/06/06 00:54:49 dholland Exp $
d9 2
a10 2
	lfs_inode.c lfs_itimes.c lfs_rfw.c lfs_segment.c lfs_subr.c	\
	lfs_syscalls.c lfs_vfsops.c lfs_vnops.c
d15 1
a15 1
	ulfs_rename.c ulfs_snapshot.c ulfs_vfsops.c ulfs_vnops.c
@


1.8.2.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
d9 2
a10 2
	lfs_inode.c lfs_itimes.c lfs_rename.c lfs_rfw.c lfs_segment.c	\
	lfs_subr.c lfs_syscalls.c lfs_vfsops.c lfs_vnops.c
d15 1
a15 1
	ulfs_snapshot.c ulfs_vfsops.c ulfs_vnops.c
@


1.8.2.2
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8.2.1 2013/08/28 23:59:36 rmind Exp $
d9 2
a10 2
	lfs_inode.c lfs_itimes.c lfs_pages.c lfs_rename.c lfs_rfw.c	\
	lfs_segment.c lfs_subr.c lfs_syscalls.c lfs_vfsops.c lfs_vnops.c
@


1.8.4.1
log
@sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2013/07/20 20:43:09 dholland Exp $
d9 2
a10 2
	lfs_inode.c lfs_itimes.c lfs_rename.c lfs_rfw.c lfs_segment.c	\
	lfs_subr.c lfs_syscalls.c lfs_vfsops.c lfs_vnops.c
d15 1
a15 1
	ulfs_snapshot.c ulfs_vfsops.c ulfs_vnops.c
@


1.7
log
@Cleanups and hacks to make lfs userland stuff build:
   - lfs_cksum.c doesn't actually need ulfs_inode.h any more.
   - neither does lfs_itimes.c.
   - add hacks to fsck_lfs to make it compile.
   - add hacks to newfs_lfs to make it compile.
   - fix warning in ulfs_quota.c when quotas are fully disabled
     (as I guess is happening with the rumpity version)

XXX: This commit adds -I${NETBSDSRCDIR}/sys to the Makefiles for
XXX: fsck_lfs, newfs_lfs, and lfs_cleanerd. This needs to be cleaned
XXX: up ASAP; but I consider this less problematic in the short term
XXX: than spewing ulfs_*.h into /usr/include.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2010/02/16 20:42:46 pooka Exp $
d15 1
a15 2
	ulfs_rename.c ulfs_snapshot.c ulfs_vfsops.c ulfs_vnops.c	\
	ulfs_wapbl.c
@


1.6
log
@Globally define -Wno-pointer-sign, as it has become a pointless
exercise of "add it to every Makefile individually".

XXX: should autosynchronize with the rest of the kernel buildflags
in sys/conf/Makefile.kern.inc.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2008/07/29 13:17:43 pooka Exp $
d12 7
@


1.6.10.1
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2010/02/16 20:42:46 pooka Exp $
d9 2
a10 8
	lfs_inode.c lfs_itimes.c lfs_rename.c lfs_rfw.c lfs_segment.c	\
	lfs_subr.c lfs_syscalls.c lfs_vfsops.c lfs_vnops.c

SRCS+=	ulfs_bmap.c ulfs_dirhash.c ulfs_extattr.c ulfs_ihash.c		\
	ulfs_inode.c ulfs_lookup.c ulfs_quota.c ulfs_quota1.c		\
	ulfs_quota2.c ulfs_quota1_subr.c ulfs_quota2_subr.c		\
	ulfs_snapshot.c ulfs_vfsops.c ulfs_vnops.c

@


1.6.20.1
log
@resync from head
@
text
@d1 1
a1 1
#	$NetBSD$
a11 6
SRCS+=	ulfs_bmap.c ulfs_dirhash.c ulfs_extattr.c ulfs_ihash.c		\
	ulfs_inode.c ulfs_lookup.c ulfs_quota.c ulfs_quota1.c		\
	ulfs_quota2.c ulfs_quota1_subr.c ulfs_quota2_subr.c		\
	ulfs_rename.c ulfs_snapshot.c ulfs_vfsops.c ulfs_vnops.c


@


1.6.20.2
log
@Rebase to HEAD as of a few days ago.
@
text
@d9 2
a10 2
	lfs_inode.c lfs_itimes.c lfs_pages.c lfs_rename.c lfs_rfw.c	\
	lfs_segment.c lfs_subr.c lfs_syscalls.c lfs_vfsops.c lfs_vnops.c
d15 1
a15 1
	ulfs_snapshot.c ulfs_vfsops.c ulfs_vnops.c
@


1.6.20.3
log
@update from HEAD
@
text
@a6 1
COMMENT=Log-structured File System
d12 1
a12 1
SRCS+=	ulfs_bmap.c ulfs_dirhash.c ulfs_extattr.c 			\
a18 3
.if ${MACHINE_ARCH} == "vax"
COPTS.lfs_inode.c+=-O0
.endif
@


1.5
log
@Install rump libraries and utilities to the base system and remove the
private non-installed build infrastructure from sys/rump.

breakdown of commit:
  * install relevant headers into /usr/include/rump
  * build sys/rump/librump/rumpuser and sys/rump/librump/rumpkern
    from src/lib and install as librumpuser and librump, respectively
    + this retains the ability to test a librump build with just the
      kernel sources at hand
  * move sys/rump/fs/lib/libukfs and sys/rump/fs/lib/libp2k to src/lib
    for general consumption, they are not kernel-space dwellers anyway
  * build and install sys/rump/fs/lib/lib$fs as librumpfs_$fs
  * add chapter 3 manual pages for rump, rumpuser, ukfs and p2k
  * build and install userspace kernel file system daemons if MKPUFFS=yes
    is spexified
  * retire fsconsole for now, it will make a comeback with an actually
    implemented version shortly
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2007/12/13 16:08:12 pooka Exp $
d12 1
a12 1
CFLAGS+=        -Wno-pointer-sign -DLFS_KERNEL_RFW
@


1.5.14.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d12 1
a12 1
CFLAGS+=        -DLFS_KERNEL_RFW
@


1.4
log
@LFS_KERNEL_RFW
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2007/12/12 18:52:00 elad Exp $
d4 1
a4 1
.include <bsd.own.mk>
d6 1
a6 3
LIB=	lfs

.PATH:  ${NETBSDSRCDIR}/sys/ufs/lfs
@


1.4.10.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2007/12/13 16:08:12 pooka Exp $
d4 1
a4 1
.PATH:  ${.CURDIR}/../../../../ufs/lfs
d6 3
a8 1
LIB=	rumpfs_lfs
@


1.4.10.2
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4.10.1 2009/05/04 08:14:26 yamt Exp $
d12 1
a12 1
CFLAGS+=        -DLFS_KERNEL_RFW
@


1.4.16.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2008/07/29 13:17:43 pooka Exp $
d4 1
a4 1
.PATH:  ${.CURDIR}/../../../../ufs/lfs
d6 3
a8 1
LIB=	rumpfs_lfs
@


1.4.6.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d4 1
a4 1
.PATH:  ${.CURDIR}/../../../../ufs/lfs
d6 3
a8 1
LIB=	rumpfs_lfs
@


1.4.12.1
log
@Sync with wrstuden-revivesa-base-2.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2007/12/13 16:08:12 pooka Exp $
d4 1
a4 1
.PATH:  ${.CURDIR}/../../../../ufs/lfs
d6 3
a8 1
LIB=	rumpfs_lfs
@


1.4.14.1
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2008/07/29 13:17:43 pooka Exp $
d4 1
a4 1
.PATH:  ${.CURDIR}/../../../../ufs/lfs
d6 3
a8 1
LIB=	rumpfs_lfs
@


1.3
log
@Don't compile lfs_rfw.c, suggested by cube@@.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2007/08/07 10:16:57 pooka Exp $
d11 1
a11 1
	lfs_inode.c lfs_itimes.c lfs_segment.c lfs_subr.c	\
d14 1
a14 1
CFLAGS+=        -Wno-pointer-sign
@


1.2
log
@more bsd.own.mk inclusion
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2007/08/05 22:28:04 pooka Exp $
d11 1
a11 1
	lfs_inode.c lfs_itimes.c lfs_rfw.c lfs_segment.c lfs_subr.c	\
@


1.2.6.1
log
@sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2007/08/07 10:16:57 pooka Exp $
d14 1
a14 1
CFLAGS+=        -Wno-pointer-sign -DLFS_KERNEL_RFW
@


1.2.18.1
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2007/12/13 16:08:12 pooka Exp $
d14 1
a14 1
CFLAGS+=        -Wno-pointer-sign -DLFS_KERNEL_RFW
@


1.2.22.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD$
d14 1
a14 1
CFLAGS+=        -Wno-pointer-sign -DLFS_KERNEL_RFW
@


1.2.20.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2007/08/07 10:16:57 pooka Exp $
d11 1
a11 1
	lfs_inode.c lfs_itimes.c lfs_segment.c lfs_subr.c	\
@


1.2.14.1
log
@file Makefile was added on branch jmcneill-pm on 2007-11-02 12:43:37 +0000
@
text
@d1 17
@


1.2.14.2
log
@Reduce diff to HEAD by adding files forgotten in early merges.
@
text
@a0 17
#	$NetBSD: Makefile,v 1.2 2007/08/07 10:16:57 pooka Exp $
#

.include <bsd.own.mk>

LIB=	lfs

.PATH:  ${NETBSDSRCDIR}/sys/ufs/lfs

SRCS=	lfs_alloc.c lfs_balloc.c lfs_bio.c lfs_cksum.c lfs_debug.c	\
	lfs_inode.c lfs_itimes.c lfs_rfw.c lfs_segment.c lfs_subr.c	\
	lfs_syscalls.c lfs_vfsops.c lfs_vnops.c

CFLAGS+=        -Wno-pointer-sign

.include <bsd.lib.mk>
.include <bsd.klinks.mk>
@


1.2.8.1
log
@file Makefile was added on branch yamt-lazymbuf on 2007-09-03 14:45:07 +0000
@
text
@d1 17
@


1.2.8.2
log
@sync with head.
@
text
@a0 17
#	$NetBSD$
#

.include <bsd.own.mk>

LIB=	lfs

.PATH:  ${NETBSDSRCDIR}/sys/ufs/lfs

SRCS=	lfs_alloc.c lfs_balloc.c lfs_bio.c lfs_cksum.c lfs_debug.c	\
	lfs_inode.c lfs_itimes.c lfs_rfw.c lfs_segment.c lfs_subr.c	\
	lfs_syscalls.c lfs_vfsops.c lfs_vnops.c

CFLAGS+=        -Wno-pointer-sign

.include <bsd.lib.mk>
.include <bsd.klinks.mk>
@


1.2.8.3
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2.8.2 2007/09/03 14:45:07 yamt Exp $
d14 1
a14 1
CFLAGS+=        -Wno-pointer-sign -DLFS_KERNEL_RFW
@


1.2.4.1
log
@file Makefile was added on branch vmlocking on 2007-08-20 22:07:19 +0000
@
text
@d1 17
@


1.2.4.2
log
@Sync with HEAD.
@
text
@a0 17
#	$NetBSD: Makefile,v 1.2 2007/08/07 10:16:57 pooka Exp $
#

.include <bsd.own.mk>

LIB=	lfs

.PATH:  ${NETBSDSRCDIR}/sys/ufs/lfs

SRCS=	lfs_alloc.c lfs_balloc.c lfs_bio.c lfs_cksum.c lfs_debug.c	\
	lfs_inode.c lfs_itimes.c lfs_rfw.c lfs_segment.c lfs_subr.c	\
	lfs_syscalls.c lfs_vfsops.c lfs_vnops.c

CFLAGS+=        -Wno-pointer-sign

.include <bsd.lib.mk>
.include <bsd.klinks.mk>
@


1.2.2.1
log
@file Makefile was added on branch nick-csl-alignment on 2007-08-15 13:50:23 +0000
@
text
@d1 17
@


1.2.2.2
log
@Sync with HEAD.
@
text
@a0 17
#	$NetBSD: Makefile,v 1.2 2007/08/07 10:16:57 pooka Exp $
#

.include <bsd.own.mk>

LIB=	lfs

.PATH:  ${NETBSDSRCDIR}/sys/ufs/lfs

SRCS=	lfs_alloc.c lfs_balloc.c lfs_bio.c lfs_cksum.c lfs_debug.c	\
	lfs_inode.c lfs_itimes.c lfs_rfw.c lfs_segment.c lfs_subr.c	\
	lfs_syscalls.c lfs_vfsops.c lfs_vnops.c

CFLAGS+=        -Wno-pointer-sign

.include <bsd.lib.mk>
.include <bsd.klinks.mk>
@


1.1
log
@Introduce RUMPs - Runnable Userspace Meta-Programs

/sys/rump contains programs which run unmodified kernel code in an
emulated userspace environment.  The kernel environment is provided
by librump.  Currently supported are a number of file systems,
which by using puffs integrate seamlessly into the system and
provide a similar user experience to if the code was running as
part of the kernel.  Potential future rumpification targets include
for example parts of the networking stack and some device drivers.

This work was supported by Google Summer of Code 2007.
@
text
@d1 1
a1 1
#	$NetBSD$
d4 2
@


1.1.2.1
log
@file Makefile was added on branch matt-mips64 on 2007-08-05 22:28:05 +0000
@
text
@d1 15
@


1.1.2.2
log
@Introduce RUMPs - Runnable Userspace Meta-Programs

/sys/rump contains programs which run unmodified kernel code in an
emulated userspace environment.  The kernel environment is provided
by librump.  Currently supported are a number of file systems,
which by using puffs integrate seamlessly into the system and
provide a similar user experience to if the code was running as
part of the kernel.  Potential future rumpification targets include
for example parts of the networking stack and some device drivers.

This work was supported by Google Summer of Code 2007.
@
text
@a0 15
#	$NetBSD: Makefile,v 1.1 2007/08/05 22:28:04 pooka Exp $
#

LIB=	lfs

.PATH:  ${NETBSDSRCDIR}/sys/ufs/lfs

SRCS=	lfs_alloc.c lfs_balloc.c lfs_bio.c lfs_cksum.c lfs_debug.c	\
	lfs_inode.c lfs_itimes.c lfs_rfw.c lfs_segment.c lfs_subr.c	\
	lfs_syscalls.c lfs_vfsops.c lfs_vnops.c

CFLAGS+=        -Wno-pointer-sign

.include <bsd.lib.mk>
.include <bsd.klinks.mk>
@

