The NetBSD Project

CVS log for src/sys/lib/libsa/loadfile.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / lib / libsa

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.32.16.1 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:34 2021 UTC (4 months, 1 week ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.32: +4 -1 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync w/ HEAD.

Revision 1.32.18.1 / (download) - annotate - [select for diffs], Mon May 31 22:15:21 2021 UTC (4 months, 3 weeks ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.32: +4 -1 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

sync with head

Revision 1.33 / (download) - annotate - [select for diffs], Fri May 21 21:52:15 2021 UTC (5 months, 1 week ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, HEAD
Changes since 1.32: +4 -1 lines
Diff to previous 1.32 (colored)

Capture the endianness of the ELF file loaded in 'netbsd_elf_data', the
same way we do already for the class in 'netbsd_elf_class'.

Revision 1.30.86.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:05 2019 UTC (2 years, 4 months ago) by christos
Branch: phil-wifi
Changes since 1.30: +1 -1 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Sync with HEAD

Revision 1.32 / (download) - annotate - [select for diffs], Fri Apr 5 20:09:29 2019 UTC (2 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_staticlib_x-base, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-i2c-spi-conf, cjep_staticlib_x
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Go back ot using 0x%x instead of %#x because we don't always support the
format. See subr_prf.c

Revision 1.31 / (download) - annotate - [select for diffs], Sun Mar 31 20:08:45 2019 UTC (2 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

fix warnings, printf formats, etc.

Revision 1.27.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:52 2009 UTC (12 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.27.10.1: +7 -2 lines
Diff to previous 1.27.10.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

sync with head.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:56 2008 UTC (13 years, 4 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.28: +7 -2 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.27.8.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:47 2008 UTC (13 years, 4 months ago) by yamt
Branch: yamt-pf42
Changes since 1.27.8.1: +7 -2 lines
Diff to previous 1.27.8.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

sync with head

Revision 1.27.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:16 2008 UTC (13 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.27: +7 -9 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Sync with HEAD.

Revision 1.30 / (download) - annotate - [select for diffs], Tue May 20 16:04:08 2008 UTC (13 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, tls-maxphys-base-20171202, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-premerge-20091211, matt-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, localcount-20160914, khorben-n900, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, jdolecek-ncq-base, jdolecek-ncq, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cherry-xenmp-base, cherry-xenmp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver, ad-audiomp2-base, ad-audiomp2
Branch point for: phil-wifi
Changes since 1.29: +4 -1 lines
Diff to previous 1.29 (colored)

Take $MACHINE into account when looking for modules.

Revision 1.29 / (download) - annotate - [select for diffs], Tue May 20 14:41:06 2008 UTC (13 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.28: +4 -2 lines
Diff to previous 1.28 (colored)

Extract kernel version from the note section and stuff into a global
netbsd_version.

Revision 1.27.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:22 2008 UTC (13 years, 5 months ago) by yamt
Branch: yamt-pf42
Changes since 1.27: +1 -8 lines
Diff to previous 1.27 (colored)

sync with head.

Revision 1.27.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:36 2008 UTC (13 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.27: +1 -8 lines
Diff to previous 1.27 (colored)

sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:06 2008 UTC (13 years, 6 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.27: +1 -8 lines
Diff to previous 1.27 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.25.26.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:59 2008 UTC (13 years, 8 months ago) by mjf
Branch: mjf-devfs
Changes since 1.25.26.1: +3 -9 lines
Diff to previous 1.25.26.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

Sync with HEAD.

Revision 1.23.16.3 / (download) - annotate - [select for diffs], Mon Jan 21 09:46:37 2008 UTC (13 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.23.16.2: +3 -9 lines
Diff to previous 1.23.16.2 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

sync with head

Revision 1.25.20.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:56:41 2008 UTC (13 years, 9 months ago) by matt
Branch: matt-armv6
Changes since 1.25: +8 -14 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

sync with HEAD

Revision 1.26.6.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:56:29 2008 UTC (13 years, 9 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.26: +3 -9 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with HEAD

Revision 1.27 / (download) - annotate - [select for diffs], Sat Dec 29 17:54:41 2007 UTC (13 years, 10 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.26: +3 -9 lines
Diff to previous 1.26 (colored)

ANSIfy.

Revision 1.25.26.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:20:53 2007 UTC (13 years, 10 months ago) by mjf
Branch: mjf-devfs
Changes since 1.25: +6 -6 lines
Diff to previous 1.25 (colored)

Sync with HEAD.

Revision 1.23.16.2 / (download) - annotate - [select for diffs], Fri Dec 7 17:33:43 2007 UTC (13 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.23.16.1: +6 -6 lines
Diff to previous 1.23.16.1 (colored) to branchpoint 1.23 (colored)

sync with head

Revision 1.25.18.1 / (download) - annotate - [select for diffs], Tue Nov 27 19:38:32 2007 UTC (13 years, 11 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.25: +6 -6 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Nov 24 13:20:55 2007 UTC (13 years, 11 months ago) by isaki
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.25: +6 -6 lines
Diff to previous 1.25 (colored)

style, indent, and ANSI-fy.

Revision 1.24.24.1 / (download) - annotate - [select for diffs], Fri Jan 12 23:27:17 2007 UTC (14 years, 9 months ago) by bouyer
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.24: +9 -3 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Pull up following revision(s) (requested by chs in ticket #348):
	sys/lib/libsa/loadfile.c: revision 1.25
in fdloadfile(), fail if we can't read the entire exec header.

Revision 1.24.20.1 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:10 2007 UTC (14 years, 9 months ago) by ad
Branch: newlock2
Changes since 1.24: +9 -3 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Sync with head.

Revision 1.23.16.1 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:16 2006 UTC (14 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.23: +9 -3 lines
Diff to previous 1.23 (colored)

sync with head.

Revision 1.24.22.1 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:58 2006 UTC (14 years, 10 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.24: +9 -3 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Dec 9 22:11:36 2006 UTC (14 years, 10 months ago) by chs
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-idlelwp-base8, yamt-idlelwp, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-audiomp-base, ad-audiomp
Branch point for: mjf-devfs, matt-armv6, jmcneill-pm
Changes since 1.24: +9 -3 lines
Diff to previous 1.24 (colored)

in fdloadfile(), fail if we can't read the entire exec header.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:46 2005 UTC (15 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, netbsd-4-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2, netbsd-4
Changes since 1.23: +1 -1 lines
Diff to previous 1.23 (colored)

merge ktrace-lwp.

Revision 1.22.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:36:18 2004 UTC (17 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.22.2.2: +1 -1 lines
Diff to previous 1.22.2.2 (colored) next main 1.23 (colored)

Fix the sync with head I botched.

Revision 1.22.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:54:02 2004 UTC (17 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.22.2.1: +0 -0 lines
Diff to previous 1.22.2.1 (colored)

Sync with HEAD.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:53:53 2004 UTC (17 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.22: +2 -6 lines
Diff to previous 1.22 (colored)

Sync with HEAD

Revision 1.23 / (download) - annotate - [select for diffs], Thu Aug 7 16:32:27 2003 UTC (18 years, 2 months ago) by agc
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, ktrace-lwp-base, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Changes since 1.22: +2 -6 lines
Diff to previous 1.22 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.7.4.2 / (download) - annotate - [select for diffs], Sat Mar 15 20:23:34 2003 UTC (18 years, 7 months ago) by he
Branch: netbsd-1-5
Changes since 1.7.4.1: +3 -3 lines
Diff to previous 1.7.4.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

Apply patch (requested by gmcgarry in ticket #7):
  Initialize some local variables so that this compiles cleanly with
  later toolchains.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Feb 24 10:51:05 2003 UTC (18 years, 8 months ago) by pk
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.21: +35 -12 lines
Diff to previous 1.21 (colored)

Introduce fdloadfile() to load an image from an open file descriptor;
implement loadfile() in terms of it.

This allows clients to open a file once and "load" it multiple times (e.g.
first with COUNT_KERNEL, then with LOAD_KERNEL) without the side-effects
of multiple open calls.

Revision 1.10.2.3 / (download) - annotate - [select for diffs], Wed Dec 11 15:51:03 2002 UTC (18 years, 10 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.10.2.2: +6 -3 lines
Diff to previous 1.10.2.2 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Sync with HEAD.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Dec 11 09:55:20 2002 UTC (18 years, 10 months ago) by pk
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.20: +6 -3 lines
Diff to previous 1.20 (colored)

Only display the final progress counter if any of the LOAD_ flags was given.
Fix comment describing the return value.

Revision 1.10.4.2 / (download) - annotate - [select for diffs], Thu Jan 10 20:00:37 2002 UTC (19 years, 9 months ago) by thorpej
Branch: kqueue
Changes since 1.10.4.1: +18 -484 lines
Diff to previous 1.10.4.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Sync kqueue branch with -current.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Wed Nov 14 19:16:51 2001 UTC (19 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.10.2.1: +18 -484 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored)

Catch up to -current.

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:19:05 2001 UTC (19 years, 11 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.17: +18 -484 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Sync the thorpej-mips-cache branch with -current.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Oct 31 17:20:50 2001 UTC (20 years ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Changes since 1.19: +16 -8 lines
Diff to previous 1.19 (colored)

Split elf32 vs. elf64 handling in loadfile(), including support for
each separately and explicitly.  BOOT_ELF is now BOOT_ELF32 and
BOOT_ELF64, and ELFSIZE should no longer be defined in loadfile_machdep.h.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Oct 31 01:51:42 2001 UTC (20 years ago) by thorpej
Branch: MAIN
Changes since 1.18: +4 -31 lines
Diff to previous 1.18 (colored)

Build the loadfile() a.out, ECOFF, and ELF back-ends as separate
objects.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Oct 30 23:51:03 2001 UTC (20 years ago) by thorpej
Branch: MAIN
Changes since 1.17: +9 -456 lines
Diff to previous 1.17 (colored)

Split the exec formats included by loadfile() into separate files.
Primary goal: explcitly select which ELF format (elf32 or elf64) to
support for a cross tool which uses loadfile().

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Fri Aug 24 00:11:53 2001 UTC (20 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.10: +35 -22 lines
Diff to previous 1.10 (colored)

Catch up with -current.

Revision 1.10.4.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:13:46 2001 UTC (20 years, 3 months ago) by lukem
Branch: kqueue
Changes since 1.10: +35 -22 lines
Diff to previous 1.10 (colored)

update to -current

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jul 31 22:11:57 2001 UTC (20 years, 3 months ago) by bjh21
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache
Changes since 1.16: +8 -1 lines
Diff to previous 1.16 (colored)

When loading ELF, zero out:
The e_shstrndx field in the ELF header, since we don't load .shstrtab.
The sh_name field in each section header, for the same reason.
The sh_offset field for any section we don't load.

This means the kernel has some chance of knowing what it's being given.  It
also means that the behaviour of old kernels with new loaders should be
deterministic (if not terribly useful: they still can't find the symbol
table).

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jul 31 21:09:52 2001 UTC (20 years, 3 months ago) by bjh21
Branch: MAIN
Changes since 1.15: +2 -6 lines
Diff to previous 1.15 (colored)

G/C "off", since it was just tracking the difference between maxp and elfp.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Jul 31 20:03:03 2001 UTC (20 years, 3 months ago) by bjh21
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Fix a small memory leak when counting the size of the symbol table (shp was
ALLOC'ed if (LOAD_SYM|COUNT_SYM), but FREEd if (LOAD_SYM)).

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jul 31 19:20:29 2001 UTC (20 years, 3 months ago) by bjh21
Branch: MAIN
Changes since 1.13: +17 -14 lines
Diff to previous 1.13 (colored)

When loading an ELF kernel, don't load all the STRTAB sections.  Instead, just
load those STRTAB sections that are referenced by a SYMTAB that we're loading.

The main advantage of this is that (at least with the binaries output by my
ARM ELF linker) this removes the need to seek backwards through the file, which
is a big win when loading a gzipped kernel.

While we're here, don't allocate space for string tables we don't load.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jul 19 18:55:38 2001 UTC (20 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Avoid warnings about uninitialised usage.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jul 13 17:43:23 2001 UTC (20 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.11: +11 -15 lines
Diff to previous 1.11 (colored)

Back out previous. The booter will need to find the symbol table itself,
as explained in the code.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jul 13 17:17:12 2001 UTC (20 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.10: +16 -5 lines
Diff to previous 1.10 (colored)

From Nigel Pearson: Make SYMS and NSYMS work on ELF.
The MacOS booter needs them.

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Fri Dec 15 04:28:51 2000 UTC (20 years, 10 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Pull up revision 1.9 (requested by tsutsui):
  Don't print ``]'' if loading kernel does not have a symbol table.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Fri Dec 8 09:14:17 2000 UTC (20 years, 10 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.3.2.2: +1 -1 lines
Diff to previous 1.3.2.2 (colored) next main 1.4 (colored)

Sync with HEAD.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Dec 3 02:53:04 2000 UTC (20 years, 10 months ago) by tsutsui
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa, kqueue
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Don't try to load a.out header if there is no space for it before text.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:05:42 2000 UTC (20 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.3.2.1: +7 -4 lines
Diff to previous 1.3.2.1 (colored)

Sync with HEAD.

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:09:35 2000 UTC (20 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.3: +10 -9 lines
Diff to previous 1.3 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.9 / (download) - annotate - [select for diffs], Sat Nov 11 09:25:12 2000 UTC (20 years, 11 months ago) by tsutsui
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Don't print "]" if loading kernel does not have symbol table.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Nov 1 14:23:04 2000 UTC (21 years ago) by ragge
Branch: MAIN
Changes since 1.7: +6 -3 lines
Diff to previous 1.7 (colored)

Add define NO_MID_CHECK that avoids checking of the a.out mid field.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Dec 29 11:08:02 1999 UTC (21 years, 10 months ago) by hannken
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl, chs-ubc2-newbase
Branch point for: netbsd-1-5
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Fix IS_DATA and IS_TEXT. PF_X and PF_W are valid on p_pflags, not p_ptype.

Revision 1.2.4.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:36:01 1999 UTC (21 years, 10 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.2: +14 -13 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Pull up to last week's -current.

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:42:02 1999 UTC (21 years, 11 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.3: +10 -9 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with -current

Revision 1.6 / (download) - annotate - [select for diffs], Sat Nov 13 21:17:56 1999 UTC (21 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base
Changes since 1.5: +1 -0 lines
Diff to previous 1.5 (colored)

Backout my libsa changes.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Nov 11 20:23:16 1999 UTC (21 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +1 -2 lines
Diff to previous 1.4 (colored)

Update for the improvements to libsa, and don't reference libkern.h.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Oct 25 13:55:10 1999 UTC (22 years ago) by kleink
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Changes since 1.3: +10 -9 lines
Diff to previous 1.3 (colored)

Update to match new SVR4-style definition names in <sys/exec_elf.h>.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Oct 8 03:55:06 1999 UTC (22 years ago) by itohy
Branch: MAIN
Branch point for: thorpej_scsipi, fvdl-softdep
Changes since 1.2: +5 -5 lines
Diff to previous 1.2 (colored)

- a.out header is not a part of text segment in NMAGIC.
- Fix section alignment code.
Patch supplied by Izumi Tsutsui, PR #8575.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:25:33 1999 UTC (22 years, 4 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Sync w/ -current.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Apr 28 09:12:24 1999 UTC (22 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: chs-ubc2-base
Branch point for: wrstuden-devbsize, chs-ubc2
Changes since 1.1: +4 -3 lines
Diff to previous 1.1 (colored)

cosmetic printf change

Revision 1.1 / (download) - annotate - [select for diffs], Wed Apr 28 09:08:50 1999 UTC (22 years, 6 months ago) by christos
Branch: MAIN

MI loadfile (used by i386, pmax and sparc shortly)

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>