diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-12-23 02:42:45 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-12-23 02:42:45 +0000 |
commit | 495c33c6637657ace4b7a4db6525175efa4b3b85 (patch) | |
tree | 45ac916fb790147465b7a358e916dec86bb02779 /sys/arch/i386/include | |
parent | 4d28f11436de1342c38ec5db96ef30e891b18b66 (diff) |
use _{NLIST,KERN}_DO_{AOUT,ELF,ECOFF} to select binary types
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r-- | sys/arch/i386/include/exec.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/arch/i386/include/exec.h b/sys/arch/i386/include/exec.h index 3e84579c225..f7e6b6401b9 100644 --- a/sys/arch/i386/include/exec.h +++ b/sys/arch/i386/include/exec.h @@ -51,7 +51,12 @@ struct relocation_info_i386 { #define ELF_TARG_MACH EM_386 /* XXX - EM_486 is currently unused by all OSs/compilers/linkers */ -#define DO_AOUT /* support a.out */ -#define DO_ELF /* support ELF */ +#define _NLIST_DO_AOUT +#define _NLIST_DO_ELF + +#define _KERN_DO_AOUT +#if defined(COMPAT_LINUX) || defined(COMPAT_SVR4) || !defined(_KERNEL) +#define _KERN_DO_ELF +#endif #endif /* _I386_EXEC_H_ */ |