summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diffreg.c
diff options
context:
space:
mode:
authortom <tom@openbsd.org>2007-05-30 01:25:43 +0000
committertom <tom@openbsd.org>2007-05-30 01:25:43 +0000
commitd64c9d9411a5ef9b1569b40e1bf69200456df05c (patch)
tree2c0972bf54619484a74dff4957a8afdf96ec52fe /usr.bin/diff/diffreg.c
parentbad henning (diff)
downloadwireguard-openbsd-d64c9d9411a5ef9b1569b40e1bf69200456df05c.tar.xz
wireguard-openbsd-d64c9d9411a5ef9b1569b40e1bf69200456df05c.zip
Pull out the ELF loadfile pieces from the standalone libraries, so that
both 32- and 64-bit versions can be created (previously only one or the other could be built for a given boot loader). Use this to allow the i386 and amd64 boot blocks to boot both ELF32 and ELF64 kernels (i.e. amd64 boot blocks can now load i386 kernels, and vice versa). Obviously the system must support LONG mode in order to successfully run the amd64 kernel once it is loaded. Advice and discussions from/with dale@ (going back three years). Much testing nick@ and todd@; thanks.
Diffstat (limited to 'usr.bin/diff/diffreg.c')
0 files changed, 0 insertions, 0 deletions