Instead of playing #include games to get a 32-bit ELF implementation on
authorjsing <jsing@openbsd.org>
Fri, 27 Dec 2013 15:02:49 +0000 (15:02 +0000)
committerjsing <jsing@openbsd.org>
Fri, 27 Dec 2013 15:02:49 +0000 (15:02 +0000)
commite22d318dfa82b187ccb718f58c8bff73b33f8b40
tree3cc72682f31acf3e3363416ef051cd869c4082c2
parenta99b96417f78116f7914637aef745e708d826611
Instead of playing #include games to get a 32-bit ELF implementation on
amd64, simply compile in our own nlist_elf32. Remove ECOFF and AOUT from
the nlist implementation since we do not need it.

This makes the code identical for the i386 and amd64 versions of
installboot(8).
usr.sbin/installboot/amd64/Makefile.inc
usr.sbin/installboot/i386/Makefile.inc
usr.sbin/installboot/i386/i386_installboot.c
usr.sbin/installboot/i386/i386_installboot.h
usr.sbin/installboot/i386/i386_nlist.c