head	1.39;
access;
symbols
	perseant-exfatfs-base-20261102:1.38
	netbsd-11-1-RELEASE:1.38
	netbsd-10-2-RELEASE:1.38
	netbsd-9-5-RELEASE:1.36
	netbsd-11-0-RELEASE:1.38
	netbsd-11-0-RC7:1.38
	netbsd-11-0-RC6:1.38
	netbsd-11-0-RC5:1.38
	netbsd-11-0-RC4:1.38
	netbsd-11-0-RC3:1.38
	netbsd-11-0-RC2:1.38
	netbsd-11-0-RC1:1.38
	perseant-exfatfs-base-20250801:1.38
	netbsd-11:1.38.0.32
	netbsd-11-base:1.38
	netbsd-10-1-RELEASE:1.38
	perseant-exfatfs-base-20240630:1.38
	perseant-exfatfs:1.38.0.30
	perseant-exfatfs-base:1.38
	netbsd-8-3-RELEASE:1.36
	netbsd-9-4-RELEASE:1.36
	netbsd-10-0-RELEASE:1.38
	netbsd-10-0-RC6:1.38
	netbsd-10-0-RC5:1.38
	netbsd-10-0-RC4:1.38
	netbsd-10-0-RC3:1.38
	netbsd-10-0-RC2:1.38
	thorpej-ifq:1.38.0.28
	thorpej-ifq-base:1.38
	thorpej-altq-separation:1.38.0.26
	thorpej-altq-separation-base:1.38
	netbsd-10-0-RC1:1.38
	netbsd-10:1.38.0.24
	netbsd-10-base:1.38
	bouyer-sunxi-drm:1.38.0.22
	bouyer-sunxi-drm-base:1.38
	netbsd-9-3-RELEASE:1.36
	thorpej-i2c-spi-conf2:1.38.0.20
	thorpej-i2c-spi-conf2-base:1.38
	thorpej-futex2:1.38.0.18
	thorpej-futex2-base:1.38
	thorpej-cfargs2:1.38.0.16
	thorpej-cfargs2-base:1.38
	cjep_sun2x-base1:1.38
	cjep_sun2x:1.38.0.14
	cjep_sun2x-base:1.38
	cjep_staticlib_x-base1:1.38
	netbsd-9-2-RELEASE:1.36
	cjep_staticlib_x:1.38.0.12
	cjep_staticlib_x-base:1.38
	thorpej-i2c-spi-conf:1.38.0.10
	thorpej-i2c-spi-conf-base:1.38
	thorpej-cfargs:1.38.0.8
	thorpej-cfargs-base:1.38
	thorpej-futex:1.38.0.6
	thorpej-futex-base:1.38
	netbsd-9-1-RELEASE:1.36
	bouyer-xenpvh-base2:1.38
	phil-wifi-20200421:1.38
	bouyer-xenpvh-base1:1.38
	phil-wifi-20200411:1.38
	bouyer-xenpvh:1.38.0.4
	bouyer-xenpvh-base:1.38
	is-mlppp:1.38.0.2
	is-mlppp-base:1.38
	phil-wifi-20200406:1.38
	netbsd-8-2-RELEASE:1.36
	ad-namecache-base3:1.38
	netbsd-9-0-RELEASE:1.36
	netbsd-9-0-RC2:1.36
	ad-namecache-base2:1.37
	ad-namecache-base1:1.37
	ad-namecache:1.37.0.2
	ad-namecache-base:1.37
	netbsd-9-0-RC1:1.36
	phil-wifi-20191119:1.37
	netbsd-9:1.36.0.18
	netbsd-9-base:1.36
	phil-wifi-20190609:1.36
	netbsd-8-1-RELEASE:1.36
	netbsd-8-1-RC1:1.36
	isaki-audio2:1.36.0.16
	isaki-audio2-base:1.36
	pgoyette-compat-merge-20190127:1.36
	pgoyette-compat-20190127:1.36
	pgoyette-compat-20190118:1.36
	pgoyette-compat-1226:1.36
	pgoyette-compat-1126:1.36
	pgoyette-compat-1020:1.36
	pgoyette-compat-0930:1.36
	pgoyette-compat-0906:1.36
	netbsd-7-2-RELEASE:1.30
	pgoyette-compat-0728:1.36
	netbsd-8-0-RELEASE:1.36
	phil-wifi:1.36.0.14
	phil-wifi-base:1.36
	pgoyette-compat-0625:1.36
	netbsd-8-0-RC2:1.36
	pgoyette-compat-0521:1.36
	pgoyette-compat-0502:1.36
	pgoyette-compat-0422:1.36
	netbsd-8-0-RC1:1.36
	pgoyette-compat-0415:1.36
	pgoyette-compat-0407:1.36
	pgoyette-compat-0330:1.36
	pgoyette-compat-0322:1.36
	pgoyette-compat-0315:1.36
	netbsd-7-1-2-RELEASE:1.30
	pgoyette-compat:1.36.0.12
	pgoyette-compat-base:1.36
	netbsd-7-1-1-RELEASE:1.30
	tls-maxphys-base-20171202:1.36
	matt-nb8-mediatek:1.36.0.10
	matt-nb8-mediatek-base:1.36
	nick-nhusb-base-20170825:1.36
	perseant-stdc-iso10646:1.36.0.8
	perseant-stdc-iso10646-base:1.36
	netbsd-8:1.36.0.6
	netbsd-8-base:1.36
	prg-localcount2-base3:1.36
	prg-localcount2-base2:1.36
	prg-localcount2-base1:1.36
	prg-localcount2:1.36.0.4
	prg-localcount2-base:1.36
	pgoyette-localcount-20170426:1.36
	bouyer-socketcan-base1:1.36
	jdolecek-ncq:1.36.0.2
	jdolecek-ncq-base:1.36
	pgoyette-localcount-20170320:1.35
	netbsd-7-1:1.30.0.12
	netbsd-7-1-RELEASE:1.30
	netbsd-7-1-RC2:1.30
	nick-nhusb-base-20170204:1.34
	netbsd-7-nhusb-base-20170116:1.30
	bouyer-socketcan:1.34.0.4
	bouyer-socketcan-base:1.34
	pgoyette-localcount-20170107:1.34
	netbsd-7-1-RC1:1.30
	nick-nhusb-base-20161204:1.34
	pgoyette-localcount-20161104:1.34
	netbsd-7-0-2-RELEASE:1.30
	nick-nhusb-base-20161004:1.34
	localcount-20160914:1.34
	netbsd-7-nhusb:1.30.0.10
	netbsd-7-nhusb-base:1.30
	pgoyette-localcount-20160806:1.34
	pgoyette-localcount-20160726:1.34
	pgoyette-localcount:1.34.0.2
	pgoyette-localcount-base:1.34
	nick-nhusb-base-20160907:1.34
	nick-nhusb-base-20160529:1.34
	netbsd-7-0-1-RELEASE:1.30
	nick-nhusb-base-20160422:1.34
	nick-nhusb-base-20160319:1.34
	nick-nhusb-base-20151226:1.31
	netbsd-7-0:1.30.0.8
	netbsd-7-0-RELEASE:1.30
	nick-nhusb-base-20150921:1.31
	netbsd-7-0-RC3:1.30
	netbsd-7-0-RC2:1.30
	netbsd-7-0-RC1:1.30
	nick-nhusb-base-20150606:1.30
	nick-nhusb-base-20150406:1.30
	nick-nhusb:1.30.0.6
	nick-nhusb-base:1.30
	netbsd-5-2-3-RELEASE:1.14
	netbsd-5-1-5-RELEASE:1.14
	netbsd-6-0-6-RELEASE:1.17.10.1
	netbsd-6-1-5-RELEASE:1.17.10.1
	netbsd-7:1.30.0.4
	netbsd-7-base:1.30
	yamt-pagecache-base9:1.30
	yamt-pagecache-tag8:1.17.4.1
	netbsd-6-1-4-RELEASE:1.17.10.1
	netbsd-6-0-5-RELEASE:1.17.10.1
	tls-earlyentropy:1.30.0.2
	tls-earlyentropy-base:1.30
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.30
	riastradh-drm2-base3:1.30
	netbsd-6-1-3-RELEASE:1.17.10.1
	netbsd-6-0-4-RELEASE:1.17.10.1
	netbsd-5-2-2-RELEASE:1.14
	netbsd-5-1-4-RELEASE:1.14
	netbsd-6-1-2-RELEASE:1.17.10.1
	netbsd-6-0-3-RELEASE:1.17.10.1
	netbsd-5-2-1-RELEASE:1.14
	netbsd-5-1-3-RELEASE:1.14
	rmind-smpnet-nbase:1.30
	netbsd-6-1-1-RELEASE:1.17.10.1
	riastradh-drm2-base2:1.23
	riastradh-drm2-base1:1.23
	riastradh-drm2:1.23.0.4
	riastradh-drm2-base:1.23
	rmind-smpnet:1.23.0.2
	rmind-smpnet-base:1.30
	netbsd-6-1:1.17.10.1.0.6
	netbsd-6-0-2-RELEASE:1.17.10.1
	netbsd-6-1-RELEASE:1.17.10.1
	khorben-n900:1.22.0.6
	netbsd-6-1-RC4:1.17.10.1
	netbsd-6-1-RC3:1.17.10.1
	agc-symver:1.22.0.4
	agc-symver-base:1.22
	netbsd-6-1-RC2:1.17.10.1
	netbsd-6-1-RC1:1.17.10.1
	yamt-pagecache-base8:1.20
	netbsd-5-2:1.14.0.98
	netbsd-6-0-1-RELEASE:1.17.10.1
	yamt-pagecache-base7:1.20
	netbsd-5-2-RELEASE:1.14
	netbsd-5-2-RC1:1.14
	matt-nb6-plus-nbase:1.17.10.1
	yamt-pagecache-base6:1.20
	netbsd-6-0:1.17.10.1.0.4
	netbsd-6-0-RELEASE:1.17.10.1
	netbsd-6-0-RC2:1.17.10.1
	tls-maxphys:1.20.0.2
	tls-maxphys-base:1.30
	matt-nb6-plus:1.17.10.1.0.2
	matt-nb6-plus-base:1.17.10.1
	netbsd-6-0-RC1:1.17.10.1
	jmcneill-usbmp-base10:1.17
	yamt-pagecache-base5:1.17
	jmcneill-usbmp-base9:1.17
	yamt-pagecache-base4:1.17
	jmcneill-usbmp-base8:1.17
	jmcneill-usbmp-base7:1.17
	jmcneill-usbmp-base6:1.17
	jmcneill-usbmp-base5:1.17
	jmcneill-usbmp-base4:1.17
	jmcneill-usbmp-base3:1.17
	jmcneill-usbmp-pre-base2:1.17
	jmcneill-usbmp-base2:1.17
	netbsd-6:1.17.0.10
	netbsd-6-base:1.17
	netbsd-5-1-2-RELEASE:1.14
	netbsd-5-1-1-RELEASE:1.14
	jmcneill-usbmp:1.17.0.8
	jmcneill-usbmp-base:1.17
	jmcneill-audiomp3:1.17.0.6
	jmcneill-audiomp3-base:1.17
	yamt-pagecache-base3:1.17
	yamt-pagecache-base2:1.17
	yamt-pagecache:1.17.0.4
	yamt-pagecache-base:1.17
	rmind-uvmplock-nbase:1.17
	cherry-xenmp:1.17.0.2
	cherry-xenmp-base:1.17
	jym-xensuspend-nbase:1.17
	uebayasi-xip-base7:1.17
	bouyer-quota2-nbase:1.17
	bouyer-quota2:1.16.0.4
	bouyer-quota2-base:1.17
	jruoho-x86intr:1.16.0.2
	jruoho-x86intr-base:1.16
	matt-mips64-premerge-20101231:1.16
	matt-nb5-mips64-premerge-20101231:1.14
	matt-nb5-pq3:1.14.0.96
	matt-nb5-pq3-base:1.14
	netbsd-5-1:1.14.0.94
	uebayasi-xip-base6:1.16
	uebayasi-xip-base5:1.16
	netbsd-5-1-RELEASE:1.14
	uebayasi-xip-base4:1.16
	uebayasi-xip-base3:1.16
	yamt-nfs-mp-base11:1.16
	netbsd-5-1-RC4:1.14
	matt-nb5-mips64-k15:1.14
	uebayasi-xip-base2:1.16
	yamt-nfs-mp-base10:1.16
	netbsd-5-1-RC3:1.14
	netbsd-5-1-RC2:1.14
	uebayasi-xip-base1:1.15
	netbsd-5-1-RC1:1.14
	rmind-uvmplock:1.15.0.6
	rmind-uvmplock-base:1.17
	yamt-nfs-mp-base9:1.15
	uebayasi-xip:1.15.0.4
	uebayasi-xip-base:1.15
	netbsd-5-0-2-RELEASE:1.14
	matt-nb5-mips64-premerge-20091211:1.14
	matt-premerge-20091211:1.15
	yamt-nfs-mp-base8:1.15
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.14
	matt-nb4-mips64-k7-u2a-k9b:1.14
	matt-nb5-mips64-u1-k1-k5:1.14
	yamt-nfs-mp-base7:1.15
	matt-nb5-mips64:1.14.0.92
	netbsd-5-0-1-RELEASE:1.14
	jymxensuspend-base:1.15
	yamt-nfs-mp-base6:1.15
	yamt-nfs-mp-base5:1.15
	yamt-nfs-mp-base4:1.15
	yamt-nfs-mp-base3:1.15
	nick-hppapmap-base4:1.15
	nick-hppapmap-base3:1.15
	netbsd-5-0:1.14.0.90
	netbsd-5-0-RELEASE:1.14
	netbsd-5-0-RC4:1.14
	netbsd-5-0-RC3:1.14
	nick-hppapmap-base2:1.15
	netbsd-5-0-RC2:1.14
	jym-xensuspend:1.15.0.2
	jym-xensuspend-base:1.17
	netbsd-5-0-RC1:1.14
	haad-dm-base2:1.14
	haad-nbase2:1.14
	ad-audiomp2:1.14.0.88
	ad-audiomp2-base:1.14
	netbsd-5:1.14.0.86
	netbsd-5-base:1.14
	nick-hppapmap:1.14.0.84
	nick-hppapmap-base:1.15
	matt-mips64-base2:1.14
	haad-dm-base1:1.14
	wrstuden-revivesa-base-4:1.14
	netbsd-4-0-1-RELEASE:1.14
	wrstuden-revivesa-base-3:1.14
	wrstuden-revivesa-base-2:1.14
	wrstuden-fixsa-newbase:1.14
	nick-csl-alignment-base5:1.14
	haad-dm:1.14.0.82
	haad-dm-base:1.14
	wrstuden-revivesa-base-1:1.14
	simonb-wapbl-nbase:1.14
	yamt-pf42-base4:1.14
	simonb-wapbl:1.14.0.80
	simonb-wapbl-base:1.14
	yamt-pf42-base3:1.14
	hpcarm-cleanup-nbase:1.14
	yamt-pf42-baseX:1.14
	yamt-pf42-base2:1.14
	yamt-nfs-mp-base2:1.14
	wrstuden-revivesa:1.14.0.78
	wrstuden-revivesa-base:1.14
	yamt-nfs-mp:1.14.0.76
	yamt-nfs-mp-base:1.14
	yamt-pf42:1.14.0.74
	yamt-pf42-base:1.14
	ad-socklock-base1:1.14
	yamt-lazymbuf-base15:1.14
	yamt-lazymbuf-base14:1.14
	keiichi-mipv6-nbase:1.14
	mjf-devfs2:1.14.0.72
	mjf-devfs2-base:1.15
	nick-net80211-sync:1.14.0.70
	nick-net80211-sync-base:1.14
	keiichi-mipv6:1.14.0.68
	keiichi-mipv6-base:1.14
	bouyer-xeni386-merge1:1.14
	matt-armv6-prevmlocking:1.14
	wrstuden-fixsa-base-1:1.14
	vmlocking2-base3:1.14
	netbsd-4-0:1.14.0.66
	netbsd-4-0-RELEASE:1.14
	bouyer-xeni386-nbase:1.14
	yamt-kmem-base3:1.14
	cube-autoconf:1.14.0.64
	cube-autoconf-base:1.14
	yamt-kmem-base2:1.14
	bouyer-xeni386:1.14.0.62
	bouyer-xeni386-base:1.14
	yamt-kmem:1.14.0.60
	yamt-kmem-base:1.14
	vmlocking2-base2:1.14
	reinoud-bufcleanup-nbase:1.14
	vmlocking2:1.14.0.58
	vmlocking2-base1:1.14
	netbsd-4-0-RC5:1.14
	matt-nb4-arm:1.14.0.56
	matt-nb4-arm-base:1.14
	matt-armv6-nbase:1.14
	jmcneill-base:1.14
	netbsd-4-0-RC4:1.14
	mjf-devfs:1.14.0.54
	mjf-devfs-base:1.14
	bouyer-xenamd64-base2:1.14
	vmlocking-nbase:1.14
	yamt-x86pmap-base4:1.14
	bouyer-xenamd64:1.14.0.52
	bouyer-xenamd64-base:1.14
	netbsd-4-0-RC3:1.14
	yamt-x86pmap-base3:1.14
	yamt-x86pmap-base2:1.14
	netbsd-4-0-RC2:1.14
	yamt-x86pmap:1.14.0.50
	yamt-x86pmap-base:1.14
	netbsd-4-0-RC1:1.14
	matt-armv6:1.14.0.48
	matt-armv6-base:1.14
	jmcneill-pm:1.14.0.46
	jmcneill-pm-base:1.14
	hpcarm-cleanup:1.14.0.44
	hpcarm-cleanup-base:1.14
	nick-csl-alignment:1.14.0.42
	nick-csl-alignment-base:1.14
	matt-mips64:1.14.0.40
	matt-mips64-base:1.14
	netbsd-3-1-1-RELEASE:1.10.10.1
	netbsd-3-0-3-RELEASE:1.10.10.1
	yamt-idlelwp-base8:1.14
	wrstuden-fixsa:1.14.0.38
	wrstuden-fixsa-base:1.14
	ppcoea-renovation:1.14.0.36
	ppcoea-renovation-base:1.14
	thorpej-atomic:1.14.0.34
	thorpej-atomic-base:1.14
	reinoud-bufcleanup:1.14.0.32
	reinoud-bufcleanup-base:1.14
	mjf-ufs-trans:1.14.0.30
	mjf-ufs-trans-base:1.14
	vmlocking:1.14.0.28
	vmlocking-base:1.14
	ad-audiomp:1.14.0.26
	ad-audiomp-base:1.14
	yamt-idlelwp:1.14.0.24
	post-newlock2-merge:1.14
	newlock2-nbase:1.14
	yamt-splraiseipl-base5:1.14
	yamt-splraiseipl-base4:1.14
	yamt-splraiseipl-base3:1.14
	abandoned-netbsd-4-base:1.14
	abandoned-netbsd-4:1.14.0.16
	netbsd-3-1:1.10.10.1.0.4
	netbsd-3-1-RELEASE:1.10.10.1
	netbsd-3-0-2-RELEASE:1.10.10.1
	yamt-splraiseipl-base2:1.14
	netbsd-3-1-RC4:1.10.10.1
	yamt-splraiseipl:1.14.0.20
	yamt-splraiseipl-base:1.14
	netbsd-3-1-RC3:1.10.10.1
	yamt-pdpolicy-base9:1.14
	newlock2:1.14.0.18
	newlock2-base:1.14
	yamt-pdpolicy-base8:1.14
	netbsd-3-1-RC2:1.10.10.1
	netbsd-3-1-RC1:1.10.10.1
	yamt-pdpolicy-base7:1.14
	netbsd-4:1.14.0.22
	netbsd-4-base:1.14
	yamt-pdpolicy-base6:1.14
	chap-midi-nbase:1.14
	netbsd-3-0-1-RELEASE:1.10.10.1
	gdamore-uart:1.14.0.14
	gdamore-uart-base:1.14
	simonb-timcounters-final:1.14
	yamt-pdpolicy-base5:1.14
	chap-midi:1.14.0.12
	chap-midi-base:1.14
	yamt-pdpolicy-base4:1.14
	yamt-pdpolicy-base3:1.14
	peter-altq-base:1.14
	peter-altq:1.14.0.10
	yamt-pdpolicy-base2:1.14
	elad-kernelauth-base:1.14
	elad-kernelauth:1.14.0.8
	yamt-pdpolicy:1.14.0.6
	yamt-pdpolicy-base:1.14
	yamt-uio_vmspace-base5:1.14
	simonb-timecounters:1.14.0.4
	simonb-timecounters-base:1.14
	rpaulo-netinet-merge-pcb:1.14.0.2
	rpaulo-netinet-merge-pcb-base:1.14
	yamt-uio_vmspace:1.13.0.2
	netbsd-3-0:1.10.10.1.0.2
	netbsd-3-0-RELEASE:1.10.10.1
	netbsd-3-0-RC6:1.10.10.1
	yamt-readahead-base3:1.12
	netbsd-3-0-RC5:1.10.10.1
	netbsd-3-0-RC4:1.10.10.1
	netbsd-3-0-RC3:1.10.10.1
	yamt-readahead-base2:1.12
	netbsd-3-0-RC2:1.10.10.1
	yamt-readahead-pervnode:1.12
	yamt-readahead-perfile:1.12
	yamt-readahead:1.12.0.8
	yamt-readahead-base:1.12
	netbsd-3-0-RC1:1.10.10.1
	yamt-vop-base3:1.12
	netbsd-2-0-3-RELEASE:1.9.2.1
	netbsd-2-1:1.9.2.1.2.1.0.2
	yamt-vop-base2:1.12
	thorpej-vnode-attr:1.12.0.6
	thorpej-vnode-attr-base:1.12
	netbsd-2-1-RELEASE:1.9.2.1.2.1
	yamt-vop:1.12.0.4
	yamt-vop-base:1.12
	netbsd-2-1-RC6:1.9.2.1.2.1
	netbsd-2-1-RC5:1.9.2.1.2.1
	netbsd-2-1-RC4:1.9.2.1.2.1
	netbsd-2-1-RC3:1.9.2.1.2.1
	netbsd-2-1-RC2:1.9.2.1.2.1
	netbsd-2-1-RC1:1.9.2.1.2.1
	yamt-lazymbuf:1.12.0.2
	yamt-km-base4:1.11
	netbsd-2-0-2-RELEASE:1.9.2.1
	yamt-km-base3:1.11
	netbsd-3:1.10.0.10
	netbsd-3-base:1.10
	yamt-km-base2:1.10
	yamt-km:1.10.0.6
	yamt-km-base:1.10
	kent-audio2:1.10.0.4
	kent-audio2-base:1.11
	netbsd-2-0-1-RELEASE:1.9.2.1
	kent-audio1-beforemerge:1.10
	netbsd-2:1.9.2.1.0.2
	netbsd-2-base:1.9.2.1
	kent-audio1:1.10.0.2
	kent-audio1-base:1.10
	netbsd-2-0-RELEASE:1.9.2.1
	netbsd-2-0-RC5:1.9.2.1
	netbsd-2-0-RC4:1.9.2.1
	netbsd-2-0-RC3:1.9.2.1
	netbsd-2-0-RC2:1.9.2.1
	netbsd-2-0-RC1:1.9.2.1
	netbsd-2-0:1.9.0.2
	netbsd-2-0-base:1.9
	netbsd-1-6-PATCH002-RELEASE:1.5
	netbsd-1-6-PATCH002:1.5
	netbsd-1-6-PATCH002-RC4:1.5
	netbsd-1-6-PATCH002-RC3:1.5
	netbsd-1-6-PATCH002-RC2:1.5
	netbsd-1-6-PATCH002-RC1:1.5
	ktrace-lwp:1.8.0.2
	ktrace-lwp-base:1.12
	netbsd-1-6-PATCH001:1.5
	netbsd-1-6-PATCH001-RELEASE:1.5
	netbsd-1-6-PATCH001-RC3:1.5
	netbsd-1-6-PATCH001-RC2:1.5
	netbsd-1-6-PATCH001-RC1:1.5
	nathanw_sa_end:1.4.2.3
	nathanw_sa_before_merge:1.5
	fvdl_fs64_base:1.5
	gmcgarry_ctxsw:1.5.0.10
	gmcgarry_ctxsw_base:1.5
	gmcgarry_ucred:1.5.0.8
	gmcgarry_ucred_base:1.5
	nathanw_sa_base:1.5
	kqueue-aftermerge:1.5
	kqueue-beforemerge:1.5
	netbsd-1-6-RELEASE:1.5
	netbsd-1-6-RC3:1.5
	netbsd-1-6-RC2:1.5
	netbsd-1-6-RC1:1.5
	kqueue-base:1.5
	kqueue:1.5.0.6
	netbsd-1-6:1.5.0.4
	netbsd-1-6-base:1.5
	gehenna-devsw:1.5.0.2
	gehenna-devsw-base:1.5
	eeh-devprop:1.4.0.8
	eeh-devprop-base:1.4
	newlock:1.4.0.6
	newlock-base:1.4
	ifpoll-base:1.4
	nathanw_sa:1.4.0.2;
locks; strict;
comment	@# @;


1.39
date	2026.12.01.12.13.44;	author hkenken;	state Exp;
branches;
next	1.38;
commitid	eaJDPdcGZsSjRB5H;

1.38
date	2020.02.12.19.55.32;	author thorpej;	state Exp;
branches;
next	1.37;
commitid	SjrBhhHuh1FPfqWB;

1.37
date	2019.10.24.18.46.21;	author christos;	state Exp;
branches
	1.37.2.1;
next	1.36;
commitid	Rj6tOeEFFt6Mn9IB;

1.36
date	2017.04.08.19.53.20;	author christos;	state Exp;
branches
	1.36.14.1;
next	1.35;

1.35
date	2017.02.22.12.51.38;	author maya;	state Exp;
branches;
next	1.34;

1.34
date	2016.03.01.16.08.22;	author joerg;	state Exp;
branches
	1.34.2.1
	1.34.4.1;
next	1.33;

1.33
date	2016.01.31.15.29.04;	author christos;	state Exp;
branches;
next	1.32;

1.32
date	2016.01.31.02.16.28;	author christos;	state Exp;
branches;
next	1.31;

1.31
date	2015.07.15.11.21.49;	author martin;	state Exp;
branches;
next	1.30;

1.30
date	2014.01.12.15.26.29;	author tsutsui;	state Exp;
branches
	1.30.6.1;
next	1.29;

1.29
date	2013.12.15.18.08.37;	author joerg;	state Exp;
branches;
next	1.28;

1.28
date	2013.12.05.16.26.04;	author joerg;	state Exp;
branches;
next	1.27;

1.27
date	2013.11.04.21.25.05;	author christos;	state Exp;
branches;
next	1.26;

1.26
date	2013.11.04.21.18.06;	author christos;	state Exp;
branches;
next	1.25;

1.25
date	2013.08.21.05.55.26;	author matt;	state Exp;
branches;
next	1.24;

1.24
date	2013.08.15.21.41.09;	author matt;	state Exp;
branches;
next	1.23;

1.23
date	2013.06.23.13.56.01;	author matt;	state Exp;
branches
	1.23.2.1;
next	1.22;

1.22
date	2013.02.06.07.19.19;	author matt;	state Exp;
branches;
next	1.21;

1.21
date	2013.02.05.03.17.51;	author matt;	state Exp;
branches;
next	1.20;

1.20
date	2012.08.13.10.25.02;	author khorben;	state Exp;
branches
	1.20.2.1;
next	1.19;

1.19
date	2012.08.06.02.14.15;	author matt;	state Exp;
branches;
next	1.18;

1.18
date	2012.07.20.14.59.33;	author matt;	state Exp;
branches;
next	1.17;

1.17
date	2011.01.22.19.19.17;	author joerg;	state Exp;
branches
	1.17.4.1
	1.17.10.1;
next	1.16;

1.16
date	2010.05.27.06.58.13;	author dholland;	state Exp;
branches
	1.16.2.1
	1.16.4.1;
next	1.15;

1.15
date	2009.01.12.07.45.24;	author tsutsui;	state Exp;
branches
	1.15.4.1
	1.15.6.1;
next	1.14;

1.14
date	2006.01.16.19.34.53;	author he;	state Exp;
branches
	1.14.72.1
	1.14.76.1
	1.14.84.1;
next	1.13;

1.13
date	2005.12.11.12.17.10;	author christos;	state Exp;
branches
	1.13.2.1;
next	1.12;

1.12
date	2005.05.03.14.51.42;	author bsh;	state Exp;
branches
	1.12.2.1;
next	1.11;

1.11
date	2005.03.18.08.50.07;	author bsh;	state Exp;
branches;
next	1.10;

1.10
date	2004.06.21.18.20.08;	author jmc;	state Exp;
branches
	1.10.4.1
	1.10.6.1
	1.10.10.1;
next	1.9;

1.9
date	2003.10.26.07.25.36;	author lukem;	state Exp;
branches
	1.9.2.1;
next	1.8;

1.8
date	2003.04.29.05.32.41;	author thorpej;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	2003.04.29.05.15.14;	author thorpej;	state Exp;
branches;
next	1.6;

1.6
date	2003.03.29.22.25.25;	author thorpej;	state Exp;
branches;
next	1.5;

1.5
date	2002.04.25.22.30.38;	author thorpej;	state Exp;
branches
	1.5.6.1;
next	1.4;

1.4
date	2002.02.24.20.29.44;	author thorpej;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2002.02.23.20.19.52;	author thorpej;	state Exp;
branches;
next	1.2;

1.2
date	2002.02.23.18.19.09;	author thorpej;	state Exp;
branches;
next	1.1;

1.1
date	2002.02.23.05.41.14;	author thorpej;	state Exp;
branches;
next	;

1.37.2.1
date	2020.02.29.20.18.23;	author ad;	state Exp;
branches;
next	;
commitid	3HPOJ2wqM6gUPBYB;

1.36.14.1
date	2020.04.08.14.07.36;	author martin;	state Exp;
branches;
next	1.36.14.2;
commitid	Qli2aW9E74UFuA3C;

1.36.14.2
date	2020.04.13.08.03.47;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.34.2.1
date	2017.03.20.06.57.13;	author pgoyette;	state Exp;
branches;
next	1.34.2.2;

1.34.2.2
date	2017.04.26.02.53.02;	author pgoyette;	state Exp;
branches;
next	;

1.34.4.1
date	2017.04.21.16.53.26;	author bouyer;	state Exp;
branches;
next	;

1.30.6.1
date	2015.09.22.12.05.40;	author skrll;	state Exp;
branches;
next	1.30.6.2;

1.30.6.2
date	2016.03.19.11.29.58;	author skrll;	state Exp;
branches;
next	1.30.6.3;

1.30.6.3
date	2017.08.28.17.51.35;	author skrll;	state Exp;
branches;
next	;
commitid	UQQpnjvcNkUZn05A;

1.23.2.1
date	2013.08.28.23.59.15;	author rmind;	state Exp;
branches;
next	1.23.2.2;

1.23.2.2
date	2014.05.18.17.45.05;	author rmind;	state Exp;
branches;
next	;

1.20.2.1
date	2013.02.25.00.28.38;	author tls;	state Exp;
branches;
next	1.20.2.2;

1.20.2.2
date	2014.08.20.00.02.56;	author tls;	state Exp;
branches;
next	1.20.2.3;

1.20.2.3
date	2017.12.03.11.36.07;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.17.4.1
date	2012.10.30.17.19.26;	author yamt;	state Exp;
branches;
next	1.17.4.2;

1.17.4.2
date	2014.05.22.11.39.43;	author yamt;	state Exp;
branches;
next	;

1.17.10.1
date	2012.08.13.20.24.10;	author riz;	state Exp;
branches;
next	;

1.16.2.1
date	2011.06.06.09.05.27;	author jruoho;	state Exp;
branches;
next	;

1.16.4.1
date	2011.02.08.16.19.18;	author bouyer;	state Exp;
branches;
next	;

1.15.4.1
date	2010.08.17.06.44.18;	author uebayasi;	state Exp;
branches;
next	;

1.15.6.1
date	2010.05.30.05.16.42;	author rmind;	state Exp;
branches;
next	1.15.6.2;

1.15.6.2
date	2011.03.05.20.50.09;	author rmind;	state Exp;
branches;
next	;

1.14.72.1
date	2009.01.17.13.27.59;	author mjf;	state Exp;
branches;
next	;

1.14.76.1
date	2009.05.04.08.11.00;	author yamt;	state Exp;
branches;
next	1.14.76.2;

1.14.76.2
date	2010.08.11.22.51.52;	author yamt;	state Exp;
branches;
next	;

1.14.84.1
date	2009.01.19.13.16.07;	author skrll;	state Exp;
branches;
next	;

1.13.2.1
date	2006.02.01.14.51.26;	author yamt;	state Exp;
branches;
next	;

1.12.2.1
date	2006.06.21.14.50.54;	author yamt;	state Exp;
branches;
next	;

1.10.4.1
date	2005.04.29.11.28.08;	author kent;	state Exp;
branches;
next	;

1.10.6.1
date	2005.03.19.08.32.56;	author yamt;	state Exp;
branches;
next	;

1.10.10.1
date	2005.03.30.10.00.41;	author tron;	state Exp;
branches;
next	;

1.9.2.1
date	2004.06.22.07.52.48;	author tron;	state Exp;
branches
	1.9.2.1.2.1;
next	;

1.9.2.1.2.1
date	2005.05.11.05.35.51;	author riz;	state Exp;
branches;
next	;

1.8.2.1
date	2004.08.03.10.34.08;	author skrll;	state Exp;
branches;
next	1.8.2.2;

1.8.2.2
date	2004.09.18.14.33.51;	author skrll;	state Exp;
branches;
next	1.8.2.3;

1.8.2.3
date	2004.09.21.13.14.53;	author skrll;	state Exp;
branches;
next	1.8.2.4;

1.8.2.4
date	2005.04.01.14.27.26;	author skrll;	state Exp;
branches;
next	1.8.2.5;

1.8.2.5
date	2005.11.10.13.55.53;	author skrll;	state Exp;
branches;
next	;

1.5.6.1
date	2002.04.25.22.30.38;	author jdolecek;	state dead;
branches;
next	1.5.6.2;

1.5.6.2
date	2002.06.23.17.35.45;	author jdolecek;	state Exp;
branches;
next	;

1.4.2.1
date	2002.02.24.20.29.44;	author nathanw;	state dead;
branches;
next	1.4.2.2;

1.4.2.2
date	2002.02.28.04.09.17;	author nathanw;	state Exp;
branches;
next	1.4.2.3;

1.4.2.3
date	2002.06.20.03.38.35;	author nathanw;	state Exp;
branches;
next	;


desc
@@


1.39
log
@evbarm: add gzboot for NetWalker

When booting from SD, the NetWalker RedBoot does not stop the
watchdog power-down counter, so the board resets 16 seconds after
power-on.  RedBoot loads the kernel too slowly for the current
NETWALKER kernel (8.8MB).  Boot it through gzboot instead: the image
is about 4MB, and gzboot stops the counter first.

Build gzboot with the default EABI, -mfloat-abi=soft and
-mno-unaligned-access instead of ARM_APCS_FLAGS.  On ARMv7 the
compiler_rt division routines are Thumb-2 and cannot be called from
non-interworking APCS code.  The FPU is not enabled at boot, and with
the MMU off unaligned accesses fault.

Add NETWALKER to the armv7 kernel sets so that gzimg can be built.

Tested on NetWalker: the gzimg image boots the NETWALKER kernel from
SD.  Built gzboot for all boards on earmv7hf, earmv5 and earmv4.
@
text
@#	$NetBSD: Makefile.gzboot,v 1.38 2020/02/12 19:55:32 thorpej Exp $

NOMAN=  # defined

.include <bsd.init.mk>		# Pull in OBJDIR name rules.
.include <bsd.own.mk>
.include <bsd.klinks.mk>

EVBARM_STAND=	${S}/arch/evbarm/stand

BASE=	gzboot_${PLATFORM}_${RELOC}
PROGSYM=${BASE}.sym
PROG=	${BASE}.bin
WARNS=	1

NEWVERSWHAT=	"Gzip Boot"
BINMODE=644

DBG=	-Os

# XXX SHOULD NOT NEED TO DEFINE THESE!
LIBCRT0=
LIBCRTI=
LIBC=
LIBCRTBEGIN= 
LIBCRTEND=      
STRIPFLAG=

.PATH: ${EVBARM_STAND}/gzboot
.PATH: ${EVBARM_STAND}/board

SRCS+=	gzboot.c image.S

STARTFILE= srtbegin.o

CPPFLAGS+= -nostdinc -I. -I${EVBARM_STAND}/gzboot -I${EVBARM_STAND}/board
CPPFLAGS+= -I${S} -I${S}/arch -I${S}/lib/libsa
CPPFLAGS+= -I${S}/../common/dist/zlib

CPPFLAGS+= -D_STANDALONE

# Specify the heap size (used by board mem_init() routines)
CPPFLAGS+= -DBOARD_HEAP_SIZE=1048576		# 1M

# libsa options
CPPFLAGS+= -DHEAP_VARIABLE

CPPFLAGS+= -DRELOC=${RELOC}
CPPFLAGS+= -DMAXIMAGESIZE=${MAXIMAGESIZE}
CPPFLAGS+= -DLOADADDR=${LOADADDR}
.if defined(GZSRCADDR)
CPPFLAGS+= -DGZSRCADDR=${GZSRCADDR}
.endif

CPPFLAGS+= -mfloat-abi=soft
CPPFLAGS+= -mno-unaligned-access

COPTS+=	-ffreestanding
COPTS+=	-fno-stack-protector
COPTS+=	-fno-unwind-tables
CWARNFLAGS+= -Werror
CWARNFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith

CLEANFILES+= ${STARTFILE} ${BASE}.list
CLEANFILES+= ${PROGSYM}

### find out what to use for libkern
KERN_AS=	library
.include "${S}/lib/libkern/Makefile.inc"
LIBKERN=	${KERNLIB}

### find out what to use for libz
Z_AS=		library
.include "${S}/lib/libz/Makefile.inc"
LIBZ=		${ZLIB}

### find out what to use for libsa
SA_AS=		library
.include "${S}/lib/libsa/Makefile.inc"
LIBSA=		${SALIB}

cleandir distclean: .WAIT cleanlibdir

cleanlibdir:
	-rm -rf lib

DIRECT_LDFLAGS= -M -T ${LDSCRIPT} --fix-v4bx

LIBLIST=${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN} ${LIBSA}

.include "${S}/conf/newvers_stand.mk"

${PROG}: ${PROGSYM}
	${OBJCOPY} -O binary ${PROGSYM} ${.TARGET}

# Prevent the normal install target from doing anything.
proginstall::

# Install the raw binary or the symbol version, based on whether or
# not the resulting gzboot needs to be mdsetimage'd.
.if ${MAXIMAGESIZE} == "0"
FILES=	${PROG}
.else
FILES=	${PROGSYM}
.endif

.include <bsd.prog.mk>

${PROGSYM}: ${STARTFILE} ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
	${_MKTARGET_LINK}
	${LD} -o ${.TARGET} ${DIRECT_LDFLAGS} ${STARTFILE} \
	    ${OBJS} ${LIBLIST} > ${BASE}.list
@


1.38
log
@Allow a configuration to specify an arbitrary address where the
compressed kernel image is located, in the event it can't be appended
to or embedded within the gzboot binary itself.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.37 2019/10/24 18:46:21 christos Exp $
a38 1
CPPFLAGS+= ${ARM_APCS_FLAGS}
d55 3
@


1.37
log
@1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and
   bsd.own.mk also adds it for gcc only (so we end up with 2 -marm for gcc).
   Just add -marm unconditionally in bsd.own.mk in ARM_APCS_FLAGS and remove
   it from everywhere else.
2. gcc-8 now warns about thumb internetwork in APCS mode. This does not make
   sense because the documentation says that this flag does not make a
   difference in apcs mode, but might produce larger code in non-APCS mode.
   So we just add it to silence the warnings.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.36 2017/04/08 19:53:20 christos Exp $
d52 3
@


1.37.2.1
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.38 2020/02/12 19:55:32 thorpej Exp $
a51 3
.if defined(GZSRCADDR)
CPPFLAGS+= -DGZSRCADDR=${GZSRCADDR}
.endif
@


1.36
log
@centralize vers.c building for standalone programs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.35 2017/02/22 12:51:38 maya Exp $
a39 1
CPPFLAGS+=	-marm
@


1.36.14.1
log
@Merge changes from current as of 20200406
@
text
@d1 1
a1 1
#	$NetBSD$
a52 3
.if defined(GZSRCADDR)
CPPFLAGS+= -DGZSRCADDR=${GZSRCADDR}
.endif
@


1.36.14.2
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d40 1
@


1.35
log
@GC more logic that was intended for GCC <4.8 (or !LLVM)

Same as before (-marm implies -mno-thumb), but now the condition was flipped
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.34 2016/03/01 16:08:22 joerg Exp $
a16 2
VERSIONFILE=	${EVBARM_STAND}/gzboot/version

d60 1
a60 1
CLEANFILES+= ${STARTFILE} vers.c ${BASE}.list
a61 1
SRCS+= vers.c
d87 1
a87 4
.PHONY: vers.c
vers.c: ${VERSIONFILE}
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${.ALLSRC} '${PLATFORM}' ${NEWVERSWHAT}
@


1.34
log
@Don't reuse LDFLAGS for arguments passed directly to ${LD}, share/mk
expects it to be passed to ${CC} or ${CXX}, so they will generally
prefix flags with -Wl.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.33 2016/01/31 15:29:04 christos Exp $
a41 1
.if ${HAVE_LLVM:Uno} != "no" || ${HAVE_GCC:U0} >= 48
a42 3
.else
CPPFLAGS+=	-mno-thumb -mno-thumb-interwork
.endif
@


1.34.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.36 2017/04/08 19:53:20 christos Exp $
d17 2
d42 1
d44 3
d66 1
a66 1
CLEANFILES+= ${STARTFILE} ${BASE}.list
d68 1
d94 4
a97 1
.include "${S}/conf/newvers_stand.mk"
@


1.34.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.35 2017/02/22 12:51:38 maya Exp $
d42 1
d44 3
@


1.34.2.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.36 2017/04/08 19:53:20 christos Exp $
d17 2
d62 1
a62 1
CLEANFILES+= ${STARTFILE} ${BASE}.list
d64 1
d90 4
a93 1
.include "${S}/conf/newvers_stand.mk"
@


1.33
log
@remove the MKPIE and MKCTF no hack, and move it to the .mk files
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.32 2016/01/31 02:16:28 christos Exp $
d90 1
a90 1
LDFLAGS= -M -T ${LDSCRIPT} --fix-v4bx
d117 1
a117 1
	${LD} -o ${.TARGET} ${LDFLAGS} ${STARTFILE} \
@


1.32
log
@Disable PIE and CTF for standalone code
XXX: Must be done centrally, and there must be a better way.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.31 2015/07/15 11:21:49 martin Exp $
d5 1
a5 3
.include <bsd.obj.mk>		# Pull in OBJDIR name rules.
MKPIE:=no
MKCTF:=no
@


1.31
log
@Clear STRIPFLAGS (stripping in general is dangerous with the -BE8 object
format, and should never be done before the final linking has happened).
From Rin Okuyama.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.30 2014/01/12 15:26:29 tsutsui Exp $
d6 2
@


1.30
log
@Add empty LIBCRTI= as LIBCRT0 to build sa programs without installed DESTDIR.

XXX: probabry we should have bsd.saprog.mk or something.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.29 2013/12/15 18:08:37 joerg Exp $
d29 1
@


1.30.6.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.31 2015/07/15 11:21:49 martin Exp $
a28 1
STRIPFLAG=
@


1.30.6.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.30.6.1 2015/09/22 12:05:40 skrll Exp $
d5 1
a5 1
.include <bsd.init.mk>		# Pull in OBJDIR name rules.
d90 1
a90 1
DIRECT_LDFLAGS= -M -T ${LDSCRIPT} --fix-v4bx
d117 1
a117 1
	${LD} -o ${.TARGET} ${DIRECT_LDFLAGS} ${STARTFILE} \
@


1.30.6.3
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.30.6.2 2016/03/19 11:29:58 skrll Exp $
d17 2
d42 1
d44 3
d66 1
a66 1
CLEANFILES+= ${STARTFILE} ${BASE}.list
d68 1
d94 4
a97 1
.include "${S}/conf/newvers_stand.mk"
@


1.29
log
@Move flags for ARM's APCS ABI into a common variable. Add some forces to
deal with limitations in the Clang <-> LLVM backend interaction to pick
the correct ABI and target assembler.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.28 2013/12/05 16:26:04 joerg Exp $
d25 1
@


1.28
log
@Use -marm for clang builds, too.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.27 2013/11/04 21:25:05 christos Exp $
d39 1
a39 1
CPPFLAGS+= -mabi=apcs-gnu -mfloat-abi=soft
@


1.27
log
@explicitly add -marm
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.26 2013/11/04 21:18:06 christos Exp $
d40 2
a41 2
.if ${HAVE_GCC} < 48
CPPFLAGS+= -mno-thumb -mno-thumb-interwork
d43 1
a43 1
CPPFLAGS+= -marm
@


1.26
log
@-mno-thumb-interwork is the default, and there is no -mthumb in gcc 4.8
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.25 2013/08/21 05:55:26 matt Exp $
d42 3
a44 1
.ebdif
@


1.25
log
@Use <bsd.klinks.mk>
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.24 2013/08/15 21:41:09 matt Exp $
d40 1
d42 1
@


1.24
log
@Add CPPFLAGS+= -mno-thumb -mno-thumb-interwork
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.23 2013/06/23 13:56:01 matt Exp $
d7 1
a63 14
.if !make(obj) && !make(clean) && !make(cleandir)
.NOPATH: machine
.endif

realdepend realall: machine
CLEANFILES+= arm machine

machine::
	-rm -f arm machine
	ln -s ${S}/arch/evbarm/include machine
	ln -s ${S}/arch/arm/include arm

${OBJS}: machine

@


1.23
log
@Add -fno-unwind-tables
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.22 2013/02/06 07:19:19 matt Exp $
d39 1
@


1.23.2.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
a6 1
.include <bsd.klinks.mk>
a38 1
CPPFLAGS+= -mno-thumb -mno-thumb-interwork
d62 14
@


1.23.2.2
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.23.2.1 2013/08/28 23:59:15 rmind Exp $
a24 1
LIBCRTI=
d39 2
a40 6
CPPFLAGS+= ${ARM_APCS_FLAGS}
.if ${HAVE_LLVM:Uno} != "no" || ${HAVE_GCC:U0} >= 48
CPPFLAGS+=	-marm
.else
CPPFLAGS+=	-mno-thumb -mno-thumb-interwork
.endif
@


1.22
log
@gcc will supply -Wa,-eabi=gnu so don't include.  Use -mabi=apcs-base, not atpcs
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.21 2013/02/05 03:17:51 matt Exp $
d54 1
@


1.21
log
@Make sure these are always compiled with -mabi=atpcs -mfloat-abi=soft
-Wa,-meabi=gnu so they use the old compilation methods.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.20 2012/08/13 10:25:02 khorben Exp $
d38 1
a38 1
CPPFLAGS+= -mabi=atpcs -mfloat-abi=soft -Wa,-meabi=gnu
@


1.20
log
@Fixed build with USE_SSP=yes

ok christos@@
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.19 2012/08/06 02:14:15 matt Exp $
d38 1
@


1.20.2.1
log
@resync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.20 2012/08/13 10:25:02 khorben Exp $
a37 1
CPPFLAGS+= -mabi=apcs-gnu -mfloat-abi=soft
@


1.20.2.2
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
a6 1
.include <bsd.klinks.mk>
a23 1
LIBCRTI=
d38 1
a38 6
CPPFLAGS+= ${ARM_APCS_FLAGS}
.if ${HAVE_LLVM:Uno} != "no" || ${HAVE_GCC:U0} >= 48
CPPFLAGS+=	-marm
.else
CPPFLAGS+=	-mno-thumb -mno-thumb-interwork
.endif
a53 1
COPTS+=	-fno-unwind-tables
d61 14
@


1.20.2.3
log
@update from HEAD
@
text
@d5 1
a5 1
.include <bsd.init.mk>		# Pull in OBJDIR name rules.
d17 2
a28 1
STRIPFLAG=
d41 1
d43 3
d65 1
a65 1
CLEANFILES+= ${STARTFILE} ${BASE}.list
d67 1
d89 1
a89 1
DIRECT_LDFLAGS= -M -T ${LDSCRIPT} --fix-v4bx
d93 4
a96 1
.include "${S}/conf/newvers_stand.mk"
d116 1
a116 1
	${LD} -o ${.TARGET} ${DIRECT_LDFLAGS} ${STARTFILE} \
@


1.19
log
@Fix to allow EABI compilation.
Make sure to DISCARD new .ARM.attributes and .ARM.ebxidx sections.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.18 2012/07/20 14:59:33 matt Exp $
d52 1
@


1.18
log
@Add missing ${_MKTARGET_LINK}
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.17 2011/01/22 19:19:17 joerg Exp $
d93 1
a93 1
LDFLAGS= -M -T ${LDSCRIPT}
@


1.17
log
@Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly
disabled by -D) from the output of newvers_stand.sh.  Change -D to the
inverted logic, so that it adds the date to bootprog_rev in ().

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
@
text
@d1 1
a1 1
#	$NetBSD: src/sys/arch/evbarm/stand/gzboot/Makefile.gzboot,v 1.16 2010-05-27 06:58:13 dholland Exp $
d119 1
@


1.17.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.17 2011/01/22 19:19:17 joerg Exp $
a51 1
COPTS+=	-fno-stack-protector
d93 1
a93 1
LDFLAGS= -M -T ${LDSCRIPT} --fix-v4bx
a118 1
	${_MKTARGET_LINK}
@


1.17.4.2
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.gzboot,v 1.17.4.1 2012/10/30 17:19:26 yamt Exp $
a6 1
.include <bsd.klinks.mk>
a23 1
LIBCRTI=
a37 6
CPPFLAGS+= ${ARM_APCS_FLAGS}
.if ${HAVE_LLVM:Uno} != "no" || ${HAVE_GCC:U0} >= 48
CPPFLAGS+=	-marm
.else
CPPFLAGS+=	-mno-thumb -mno-thumb-interwork
.endif
a52 1
COPTS+=	-fno-unwind-tables
d60 14
@


1.17.10.1
log
@Pull up following revision(s) (requested by khorben in ticket #493):
	sys/arch/evbarm/stand/gzboot/Makefile.gzboot: revision 1.20
Fixed build with USE_SSP=yes
ok christos@@
@
text
@d1 1
a1 1
#	$NetBSD$
a51 1
COPTS+=	-fno-stack-protector
@


1.16
log
@Introduce .WAIT into the cleandir rule for blasting the libsa/libkern/etc.
trees, because it can race with the libsa/libkern/etc. makefiles' own
cleandir rules. I think I've found all of the uses of the offending idiom...
Closes PR 43360.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.15 2009/01/12 07:45:24 tsutsui Exp $
d99 2
a100 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.ALLSRC} '${PLATFORM}' \
	    ${NEWVERSWHAT}
@


1.16.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.17 2011/01/22 19:19:17 joerg Exp $
d99 2
a100 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${.ALLSRC} '${PLATFORM}' ${NEWVERSWHAT}
@


1.16.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.17 2011/01/22 19:19:17 joerg Exp $
d99 2
a100 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${.ALLSRC} '${PLATFORM}' ${NEWVERSWHAT}
@


1.15
log
@- WARNSfy
- add src/common/dist/zlib to incpath for build without DESTDIR
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.14 2006/01/16 19:34:53 he Exp $
d88 1
a88 1
cleandir distclean: cleanlibdir
@


1.15.4.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d88 1
a88 1
cleandir distclean: .WAIT cleanlibdir
@


1.15.6.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.15 2009/01/12 07:45:24 tsutsui Exp $
d88 1
a88 1
cleandir distclean: .WAIT cleanlibdir
@


1.15.6.2
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
d99 2
a100 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${.ALLSRC} '${PLATFORM}' ${NEWVERSWHAT}
@


1.14
log
@The new zlib uses HEAP_SIZE, so instead use BOARD_HEAP_SIZE as the
symbol to use here.  Also adapt to the new zlib with the changed name
for the header file.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.13 2005/12/11 12:17:10 christos Exp $
d37 1
d52 2
a53 1
CWARNFLAGS+= -Wno-main
@


1.14.76.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.14 2006/01/16 19:34:53 he Exp $
a36 1
CPPFLAGS+= -I${S}/../common/dist/zlib
d51 1
a51 2
CWARNFLAGS+= -Werror
CWARNFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
@


1.14.76.2
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.14.76.1 2009/05/04 08:11:00 yamt Exp $
d88 1
a88 1
cleandir distclean: .WAIT cleanlibdir
@


1.14.84.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.15 2009/01/12 07:45:24 tsutsui Exp $
a36 1
CPPFLAGS+= -I${S}/../common/dist/zlib
d51 1
a51 2
CWARNFLAGS+= -Werror
CWARNFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
@


1.14.72.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
a36 1
CPPFLAGS+= -I${S}/../common/dist/zlib
d51 1
a51 2
CWARNFLAGS+= -Werror
CWARNFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
@


1.13
log
@merge ktrace-lwp.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.8.2.5 2005/11/10 13:55:53 skrll Exp $
d41 1
a41 1
CPPFLAGS+= -DHEAP_SIZE=1048576		# 1M
@


1.13.2.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.13 2005/12/11 12:17:10 christos Exp $
d41 1
a41 1
CPPFLAGS+= -DBOARD_HEAP_SIZE=1048576		# 1M
@


1.12
log
@dependencies for .BEGIN is not accepted by the latest nbmake.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.11 2005/03/18 08:50:07 bsh Exp $
@


1.12.2.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.12 2005/05/03 14:51:42 bsh Exp $
d41 1
a41 1
CPPFLAGS+= -DBOARD_HEAP_SIZE=1048576		# 1M
@


1.11
log
@include <bsd.obj.mk> to teach make the rules for OBJDIR names.

This is to fix a problem on compiling gzboot with BUILDID defined
(by build.sh -B BUILDID).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.10 2004/06/21 18:20:08 jmc Exp $
a57 1
.BEGIN: machine
@


1.10
log
@Ignore errors on some rm -rf's for platforms that aren't quite
POSIX compliant
and return errors on r/o source (FreeBSD) for -rf. Fixes PR#25022
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.9 2003/10/26 07:25:36 lukem Exp $
d5 1
@


1.10.4.1
log
@sync with -current
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.11 2005/03/18 08:50:07 bsh Exp $
a4 1
.include <bsd.obj.mk>		# Pull in OBJDIR name rules.
@


1.10.10.1
log
@Pull up revision 1.11 (requested by bsh in ticket #69):
include <bsd.obj.mk> to teach make the rules for OBJDIR names.
This is to fix a problem on compiling gzboot with BUILDID defined
(by build.sh -B BUILDID).
@
text
@d1 1
a1 1
#	$NetBSD$
a4 1
.include <bsd.obj.mk>		# Pull in OBJDIR name rules.
@


1.10.6.1
log
@sync with head.  xen and whitespace.  xen part is not finished.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.10 2004/06/21 18:20:08 jmc Exp $
a4 1
.include <bsd.obj.mk>		# Pull in OBJDIR name rules.
@


1.9
log
@Use ${HOST_SH} instead of `sh'.

If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.8 2003/04/29 05:32:41 thorpej Exp $
d89 1
a89 1
	rm -rf lib
@


1.9.2.1
log
@Pull up revision 1.10 (requested by jmc in ticket #531):
Ignore errors on some rm -rf's for platforms that aren't quite
POSIX compliant
and return errors on r/o source (FreeBSD) for -rf. Fixes PR#25022
@
text
@d1 1
a1 1
#	$NetBSD$
d89 1
a89 1
	-rm -rf lib
@


1.9.2.1.2.1
log
@Pull up revision 1.11 (requested by bsh in ticket #1362):
include <bsd.obj.mk> to teach make the rules for OBJDIR names.
This is to fix a problem on compiling gzboot with BUILDID defined
(by build.sh -B BUILDID).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.9.2.1 2004/06/22 07:52:48 tron Exp $
a4 1
.include <bsd.obj.mk>		# Pull in OBJDIR name rules.
@


1.8
log
@* Add ${PROGSYM} to CLEANFILES.
* Instsall either the .bin or the .sym, based on whether or not
  the resulting gzboot needs to be mdsetimage'd.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.7 2003/04/29 05:15:14 thorpej Exp $
d97 1
a97 1
	sh ${S}/conf/newvers_stand.sh ${.ALLSRC} '${PLATFORM}' \
@


1.8.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.10 2004/06/21 18:20:08 jmc Exp $
d89 1
a89 1
	-rm -rf lib
d97 1
a97 1
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.ALLSRC} '${PLATFORM}' \
@


1.8.2.2
log
@Sync with HEAD.
@
text
@@


1.8.2.3
log
@Fix the sync with head I botched.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.8.2.1 2004/08/03 10:34:08 skrll Exp $
@


1.8.2.4
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.8.2.3 2004/09/21 13:14:53 skrll Exp $
a4 1
.include <bsd.obj.mk>		# Pull in OBJDIR name rules.
@


1.8.2.5
log
@Sync with HEAD. Here we go again...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.8.2.4 2005/04/01 14:27:26 skrll Exp $
d58 1
@


1.7
log
@Also build a flat binary version of the gzboot program.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.6 2003/03/29 22:25:25 thorpej Exp $
d53 1
d102 11
@


1.6
log
@Garbage-collect the DYNAMIC_CRC_TABLE stuff.  The table it computed
was incompatible with the new CRC code, and it is largely unnecessary
now, since the static table is so much smaller.

Fixes PR kern/20935.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.5 2002/04/25 22:30:38 thorpej Exp $
d10 2
a11 1
PROG=	${BASE}.sym
d99 2
a100 3
${PROG}: ${STARTFILE} ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
	${LD} -o ${BASE}.sym ${LDFLAGS} ${STARTFILE} \
	    ${OBJS} ${LIBLIST} > ${BASE}.list
d103 4
@


1.5
log
@Give gzboot a 1M heap, so that loading gzip -9'd kernels works
reliably.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.4 2002/02/24 20:29:44 thorpej Exp $
a42 3

# libz options
CPPFLAGS+= -DDYNAMIC_CRC_TABLE
@


1.5.6.1
log
@file Makefile.gzboot was added on branch kqueue on 2002-06-23 17:35:45 +0000
@
text
@d1 105
@


1.5.6.2
log
@catch up with -current on kqueue branch
@
text
@a0 105
#	$NetBSD: Makefile.gzboot,v 1.5.6.1 2002/06/23 17:35:45 jdolecek Exp $

NOMAN=  # defined

.include <bsd.own.mk>

EVBARM_STAND=	${S}/arch/evbarm/stand

BASE=	gzboot_${PLATFORM}_${RELOC}
PROG=	${BASE}.sym
WARNS=	1

NEWVERSWHAT=	"Gzip Boot"
VERSIONFILE=	${EVBARM_STAND}/gzboot/version

BINMODE=644

DBG=	-Os

# XXX SHOULD NOT NEED TO DEFINE THESE!
LIBCRT0=
LIBC=
LIBCRTBEGIN= 
LIBCRTEND=      

.PATH: ${EVBARM_STAND}/gzboot
.PATH: ${EVBARM_STAND}/board

SRCS+=	gzboot.c image.S

STARTFILE= srtbegin.o

CPPFLAGS+= -nostdinc -I. -I${EVBARM_STAND}/gzboot -I${EVBARM_STAND}/board
CPPFLAGS+= -I${S} -I${S}/arch -I${S}/lib/libsa

CPPFLAGS+= -D_STANDALONE

# Specify the heap size (used by board mem_init() routines)
CPPFLAGS+= -DHEAP_SIZE=1048576		# 1M

# libsa options
CPPFLAGS+= -DHEAP_VARIABLE

# libz options
CPPFLAGS+= -DDYNAMIC_CRC_TABLE

CPPFLAGS+= -DRELOC=${RELOC}
CPPFLAGS+= -DMAXIMAGESIZE=${MAXIMAGESIZE}
CPPFLAGS+= -DLOADADDR=${LOADADDR}

COPTS+=	-ffreestanding
CWARNFLAGS+= -Wno-main

CLEANFILES+= ${STARTFILE} vers.c ${BASE}.list
SRCS+= vers.c

.if !make(obj) && !make(clean) && !make(cleandir)
.BEGIN: machine
.NOPATH: machine
.endif

realdepend realall: machine
CLEANFILES+= arm machine

machine::
	-rm -f arm machine
	ln -s ${S}/arch/evbarm/include machine
	ln -s ${S}/arch/arm/include arm

${OBJS}: machine

### find out what to use for libkern
KERN_AS=	library
.include "${S}/lib/libkern/Makefile.inc"
LIBKERN=	${KERNLIB}

### find out what to use for libz
Z_AS=		library
.include "${S}/lib/libz/Makefile.inc"
LIBZ=		${ZLIB}

### find out what to use for libsa
SA_AS=		library
.include "${S}/lib/libsa/Makefile.inc"
LIBSA=		${SALIB}

cleandir distclean: cleanlibdir

cleanlibdir:
	rm -rf lib

LDFLAGS= -M -T ${LDSCRIPT}

LIBLIST=${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN} ${LIBSA}

.PHONY: vers.c
vers.c: ${VERSIONFILE}
	sh ${S}/conf/newvers_stand.sh ${.ALLSRC} '${PLATFORM}' \
	    ${NEWVERSWHAT}

${PROG}: ${STARTFILE} ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
	${LD} -o ${BASE}.sym ${LDFLAGS} ${STARTFILE} \
	    ${OBJS} ${LIBLIST} > ${BASE}.list

.include <bsd.prog.mk>
@


1.4
log
@Add support for relocating gzboot's .text out of flash and into
RAM (while still decompressing the image directly from flash).

This makes gzboot run a LOT faster.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.3 2002/02/23 20:19:52 thorpej Exp $
d37 3
@


1.4.2.1
log
@file Makefile.gzboot was added on branch nathanw_sa on 2002-02-28 04:09:17 +0000
@
text
@d1 102
@


1.4.2.2
log
@Catch up to -current.
@
text
@a0 102
#	$NetBSD: Makefile.gzboot,v 1.4.2.1 2002/02/28 04:09:17 nathanw Exp $

NOMAN=  # defined

.include <bsd.own.mk>

EVBARM_STAND=	${S}/arch/evbarm/stand

BASE=	gzboot_${PLATFORM}_${RELOC}
PROG=	${BASE}.sym
WARNS=	1

NEWVERSWHAT=	"Gzip Boot"
VERSIONFILE=	${EVBARM_STAND}/gzboot/version

BINMODE=644

DBG=	-Os

# XXX SHOULD NOT NEED TO DEFINE THESE!
LIBCRT0=
LIBC=
LIBCRTBEGIN= 
LIBCRTEND=      

.PATH: ${EVBARM_STAND}/gzboot
.PATH: ${EVBARM_STAND}/board

SRCS+=	gzboot.c image.S

STARTFILE= srtbegin.o

CPPFLAGS+= -nostdinc -I. -I${EVBARM_STAND}/gzboot -I${EVBARM_STAND}/board
CPPFLAGS+= -I${S} -I${S}/arch -I${S}/lib/libsa

CPPFLAGS+= -D_STANDALONE

# libsa options
CPPFLAGS+= -DHEAP_VARIABLE

# libz options
CPPFLAGS+= -DDYNAMIC_CRC_TABLE

CPPFLAGS+= -DRELOC=${RELOC}
CPPFLAGS+= -DMAXIMAGESIZE=${MAXIMAGESIZE}
CPPFLAGS+= -DLOADADDR=${LOADADDR}

COPTS+=	-ffreestanding
CWARNFLAGS+= -Wno-main

CLEANFILES+= ${STARTFILE} vers.c ${BASE}.list
SRCS+= vers.c

.if !make(obj) && !make(clean) && !make(cleandir)
.BEGIN: machine
.NOPATH: machine
.endif

realdepend realall: machine
CLEANFILES+= arm machine

machine::
	-rm -f arm machine
	ln -s ${S}/arch/evbarm/include machine
	ln -s ${S}/arch/arm/include arm

${OBJS}: machine

### find out what to use for libkern
KERN_AS=	library
.include "${S}/lib/libkern/Makefile.inc"
LIBKERN=	${KERNLIB}

### find out what to use for libz
Z_AS=		library
.include "${S}/lib/libz/Makefile.inc"
LIBZ=		${ZLIB}

### find out what to use for libsa
SA_AS=		library
.include "${S}/lib/libsa/Makefile.inc"
LIBSA=		${SALIB}

cleandir distclean: cleanlibdir

cleanlibdir:
	rm -rf lib

LDFLAGS= -M -T ${LDSCRIPT}

LIBLIST=${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN} ${LIBSA}

.PHONY: vers.c
vers.c: ${VERSIONFILE}
	sh ${S}/conf/newvers_stand.sh ${.ALLSRC} '${PLATFORM}' \
	    ${NEWVERSWHAT}

${PROG}: ${STARTFILE} ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
	${LD} -o ${BASE}.sym ${LDFLAGS} ${STARTFILE} \
	    ${OBJS} ${LIBLIST} > ${BASE}.list

.include <bsd.prog.mk>
@


1.4.2.3
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.4.2.2 2002/06/20 03:38:35 nathanw Exp $
a37 3
# Specify the heap size (used by board mem_init() routines)
CPPFLAGS+= -DHEAP_SIZE=1048576		# 1M

@


1.3
log
@Fix the -DRELOC=... CPP flag.  Add -DDYNAMIC_CRC_TABLE to shrink
the text (and, thus, the space taken up in flash) a bit.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.2 2002/02/23 18:19:09 thorpej Exp $
d29 1
a29 1
SRCS+=	gzboot.c image.c
d89 1
a89 1
LDFLAGS= -M -e start -T ${LDSCRIPT}
@


1.2
log
@Add support for running directly out of flash:
* Require that the builder Makefile provide a linker script.
* After making sure the MMU is disabled, check to see if
  _etext == __data_start.  If not, then copy the .data contents
  into RAM.
* Put the stack in .bss.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.gzboot,v 1.1 2002/02/23 05:41:14 thorpej Exp $
d35 1
d37 2
d40 7
a46 1
CPPFLAGS+= -DRELOC=0x${RELOC}
@


1.1
log
@gzboot -- boot a gzip'd kernel image.  This is useful for booting
compressed kernel images from flash.

This needs more work, but is a good first-pass.
@
text
@d1 1
a1 1
#	$NetBSD$
d80 1
a80 1
LDFLAGS= -M -N -e start
d90 1
a90 1
	${LD} -o ${BASE}.sym ${LDFLAGS} -Ttext 0x${RELOC} ${STARTFILE} \
@
