a.out is no longer the commonly encountered binary file format, the world has
authormiod <miod@openbsd.org>
Wed, 16 Oct 2024 18:47:47 +0000 (18:47 +0000)
committermiod <miod@openbsd.org>
Wed, 16 Oct 2024 18:47:47 +0000 (18:47 +0000)
commitce1663765cab19cd8cdad9053f5fa026adcdfba9
tree2a560c36fa58690194001c4128d34549d30e2393
parent5a69559862a623003b3538e1fb82d24394f98fdc
a.out is no longer the commonly encountered binary file format, the world has
moved to ELF.

Move the a.out specific defines and macros, but the MID_xxx values, from
<sys/exec.h> to <a.out.h>, and update the few userland binaries which really
need these defines (i.e. boot-related tools for old architectures) to
explicitly include <a.out.h> when needed.

"Fine" deraadt@
distrib/special/more/more.c
include/a.out.h
sys/arch/hppa/stand/mkboot/mkboot.c
sys/sys/exec.h
usr.sbin/mopd/common/file.c
usr.sbin/mopd/mopa.out/mopa.out.c