use command line parameters to ld(1) instead to set the endian format.
Clean up some endian decisions in mips/conf/Makefile.mips.
Wrap some long lines.
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).
Improved by comments from enami and christos -- thanks!
Heimdal/krb4/KAME changes already fed back, rest to follow.
Inspired by, but not not based on, OpenBSD.
16 bit sun checksum. This flag is needed when making iso 9660 images which
are bootable on both sparc and pmax machines.
this addresses PR port-pmax/10929
sync comments in */version with i386
add a hack to ${PROG} target so that symlinks machine, pmax, mips are
created properly even when building on NetBSD/pmax 1.4.1
not the full boot device specification.
With this change, /etc/rc doesn't spew garbage when kvm_mkdb can't
find a kernel called "3/rz0/netbsd" or some such...
anyway). The resultant pwrite() is now a multiple of the blocksize and
doesn't fail on a pmax with the MI SCSI driver.
Problem noticed by Tohru Nishimura.
some significant differences:
* Because the pmax bootblocks don't have a fixed load address, we
need to keep the first stage blocks in /usr/mdec with some sort
of executable format that includes load and transfer address.
Since ELF is native, /usr/mdec/bootxx_* are in ELF format and
installboot (in loadbootstrap.c) needs knowledge of the ELF format.
* Support for installing the first stage at an arbitiary position.
-a adds the first stage to end of the "disk" (only on works on
regular files) and -i <block> puts the first stage at ISO
filesystem block number <block> for use in multi-arch boot
CDs (see installboot(8) for more details and an example).
* No checksum support. This should really be done in some sort of
MI way rather than duplicating code between ports' installboot.c