diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-09-11 15:44:20 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-09-11 15:44:20 +0000 |
commit | 97591430ce787f738611b19ae7bc9a8867beba7c (patch) | |
tree | 172292b22becc2cae0ca46b4568b1950f03be0b8 /sys/arch | |
parent | ee649a97d7c357cdc8b0523bdc8d8976eb8ea859 (diff) |
Remove the 'OLF method' used for the transition from a.out to ELF and
for all the compat layers which are now gone. Linux compat still works
because it always used another method in any case, and nothing looks at
p_os anymore.
ok jsing
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/alpha/include/exec.h | 4 | ||||
-rw-r--r-- | sys/arch/amd64/include/exec.h | 4 | ||||
-rw-r--r-- | sys/arch/arm/include/exec.h | 4 | ||||
-rw-r--r-- | sys/arch/hppa/include/exec.h | 3 | ||||
-rw-r--r-- | sys/arch/hppa64/include/exec.h | 3 | ||||
-rw-r--r-- | sys/arch/i386/include/exec.h | 4 | ||||
-rw-r--r-- | sys/arch/ia64/include/exec.h | 4 | ||||
-rw-r--r-- | sys/arch/mips64/include/exec.h | 3 | ||||
-rw-r--r-- | sys/arch/powerpc/include/exec.h | 5 | ||||
-rw-r--r-- | sys/arch/sh/include/exec.h | 4 | ||||
-rw-r--r-- | sys/arch/sparc/include/exec.h | 4 | ||||
-rw-r--r-- | sys/arch/sparc64/include/exec.h | 3 |
12 files changed, 13 insertions, 32 deletions
diff --git a/sys/arch/alpha/include/exec.h b/sys/arch/alpha/include/exec.h index 50a8417410f..cad397b9923 100644 --- a/sys/arch/alpha/include/exec.h +++ b/sys/arch/alpha/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.11 2011/03/23 16:54:34 pirofti Exp $ */ +/* $OpenBSD: exec.h,v 1.12 2012/09/11 15:44:15 deraadt Exp $ */ /* $NetBSD: exec.h,v 1.1 1995/02/13 23:07:37 cgd Exp $ */ /* @@ -36,8 +36,6 @@ /* Size of a page in an object file. */ #define __LDPGSZ 8192 -#define NATIVE_EXEC_ELF - #define ARCH_ELFSIZE 64 #define ELF_TARG_CLASS ELFCLASS64 diff --git a/sys/arch/amd64/include/exec.h b/sys/arch/amd64/include/exec.h index c57d61e4340..6d16439cbbd 100644 --- a/sys/arch/amd64/include/exec.h +++ b/sys/arch/amd64/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.3 2011/03/23 16:54:34 pirofti Exp $ */ +/* $OpenBSD: exec.h,v 1.4 2012/09/11 15:44:17 deraadt Exp $ */ /* * Written by Artur Grabowski <art@openbsd.org> Public Domain */ @@ -8,8 +8,6 @@ #define __LDPGSZ 4096 -#define NATIVE_EXEC_ELF - #define ARCH_ELFSIZE 64 #define ELF_TARG_CLASS ELFCLASS64 diff --git a/sys/arch/arm/include/exec.h b/sys/arch/arm/include/exec.h index d2ff44a438d..2f5545300f5 100644 --- a/sys/arch/arm/include/exec.h +++ b/sys/arch/arm/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.2 2011/11/08 17:06:51 deraadt Exp $ */ +/* $OpenBSD: exec.h,v 1.3 2012/09/11 15:44:17 deraadt Exp $ */ /* $NetBSD: exec.h,v 1.6 1994/10/27 04:16:05 cgd Exp $ */ /* @@ -33,8 +33,6 @@ #define __LDPGSZ 4096 -#define NATIVE_EXEC_ELF - #define ARCH_ELFSIZE 32 #define ELF_TARG_CLASS ELFCLASS32 diff --git a/sys/arch/hppa/include/exec.h b/sys/arch/hppa/include/exec.h index f94766e750c..6373e18e7fc 100644 --- a/sys/arch/hppa/include/exec.h +++ b/sys/arch/hppa/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.10 2008/06/14 14:42:55 miod Exp $ */ +/* $OpenBSD: exec.h,v 1.11 2012/09/11 15:44:17 deraadt Exp $ */ /* * Copyright (c) 1994, The University of Utah and @@ -37,7 +37,6 @@ #define ELF_TARG_DATA ELFDATA2MSB #define ELF_TARG_MACH EM_PARISC -#define NATIVE_EXEC_ELF #define _NLIST_DO_ELF #define _KERN_DO_ELF diff --git a/sys/arch/hppa64/include/exec.h b/sys/arch/hppa64/include/exec.h index 79a7cf4789f..af7abf6de51 100644 --- a/sys/arch/hppa64/include/exec.h +++ b/sys/arch/hppa64/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.3 2011/11/10 23:15:11 deraadt Exp $ */ +/* $OpenBSD: exec.h,v 1.4 2012/09/11 15:44:17 deraadt Exp $ */ /* * Copyright (c) 1994, The University of Utah and @@ -37,7 +37,6 @@ #define ELF_TARG_DATA ELFDATA2MSB #define ELF_TARG_MACH EM_PARISC -#define NATIVE_EXEC_ELF #define _NLIST_DO_ELF #define _KERN_DO_ELF64 diff --git a/sys/arch/i386/include/exec.h b/sys/arch/i386/include/exec.h index 69091707d34..d655f867f65 100644 --- a/sys/arch/i386/include/exec.h +++ b/sys/arch/i386/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.10 2011/03/23 16:54:35 pirofti Exp $ */ +/* $OpenBSD: exec.h,v 1.11 2012/09/11 15:44:17 deraadt Exp $ */ /* $NetBSD: exec.h,v 1.6 1994/10/27 04:16:05 cgd Exp $ */ /* @@ -33,8 +33,6 @@ #define __LDPGSZ 4096 -#define NATIVE_EXEC_ELF - #define ARCH_ELFSIZE 32 #define ELF_TARG_CLASS ELFCLASS32 diff --git a/sys/arch/ia64/include/exec.h b/sys/arch/ia64/include/exec.h index d08a436f4f5..f4246250559 100644 --- a/sys/arch/ia64/include/exec.h +++ b/sys/arch/ia64/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.1 2011/07/04 23:29:08 pirofti Exp $ */ +/* $OpenBSD: exec.h,v 1.2 2012/09/11 15:44:17 deraadt Exp $ */ /* * Written by Paul Irofti <pirofti@openbsd.org>. Public Domain. @@ -7,8 +7,6 @@ #ifndef _IA64_EXEC_H_ #define _IA64_EXEC_H_ -#define NATIVE_EXEC_ELF - #define ARCH_ELFSIZE 64 #define _NLIST_DO_ELF diff --git a/sys/arch/mips64/include/exec.h b/sys/arch/mips64/include/exec.h index e1d9e903301..02447c309ff 100644 --- a/sys/arch/mips64/include/exec.h +++ b/sys/arch/mips64/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.4 2009/12/12 20:03:16 miod Exp $ */ +/* $OpenBSD: exec.h,v 1.5 2012/09/11 15:44:18 deraadt Exp $ */ /* * Copyright (c) 1996-2004 Per Fogelstrom, Opsycon AB @@ -34,7 +34,6 @@ /* * Define what exec "formats" we should handle. */ -#define NATIVE_EXEC_ELF #define NATIVE_ELFSIZE 64 #define EXEC_SCRIPT diff --git a/sys/arch/powerpc/include/exec.h b/sys/arch/powerpc/include/exec.h index 8b56f51ebbf..79b18733da8 100644 --- a/sys/arch/powerpc/include/exec.h +++ b/sys/arch/powerpc/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.10 2003/06/09 16:34:22 deraadt Exp $ */ +/* $OpenBSD: exec.h,v 1.11 2012/09/11 15:44:18 deraadt Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom, Opsycon AB. @@ -24,7 +24,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: exec.h,v 1.10 2003/06/09 16:34:22 deraadt Exp $ + * $Id: exec.h,v 1.11 2012/09/11 15:44:18 deraadt Exp $ */ #ifndef _POWERPC_EXEC_H_ @@ -35,7 +35,6 @@ /* * Define what exec "formats" we should handle. */ -#define NATIVE_EXEC_ELF #define EXEC_SCRIPT #define ARCH_ELFSIZE 32 diff --git a/sys/arch/sh/include/exec.h b/sys/arch/sh/include/exec.h index 48a968037f4..f4bc66f3923 100644 --- a/sys/arch/sh/include/exec.h +++ b/sys/arch/sh/include/exec.h @@ -1,10 +1,8 @@ -/* $OpenBSD: exec.h,v 1.2 2006/11/10 20:34:06 drahn Exp $ */ +/* $OpenBSD: exec.h,v 1.3 2012/09/11 15:44:18 deraadt Exp $ */ /* $NetBSD: elf_machdep.h,v 1.8 2002/04/28 17:10:34 uch Exp $ */ #define __LDPGSZ 4096 -#define NATIVE_EXEC_ELF - #define ARCH_ELFSIZE 32 /* MD native binary size */ #define ELF_TARG_CLASS ELFCLASS32 #ifdef __LITTLE_ENDIAN__ diff --git a/sys/arch/sparc/include/exec.h b/sys/arch/sparc/include/exec.h index 24d512ca290..ecf35ae258e 100644 --- a/sys/arch/sparc/include/exec.h +++ b/sys/arch/sparc/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.14 2011/03/23 16:54:37 pirofti Exp $ */ +/* $OpenBSD: exec.h,v 1.15 2012/09/11 15:44:18 deraadt Exp $ */ /* $NetBSD: exec.h,v 1.7 1994/11/20 20:53:02 deraadt Exp $ */ /* @@ -115,8 +115,6 @@ struct relocation_info_sparc { #define R_TYPE(name) __CONCAT(R_SPARC_,name) #endif -#define NATIVE_EXEC_ELF - #define ARCH_ELFSIZE 32 #define ELF_TARG_CLASS ELFCLASS32 diff --git a/sys/arch/sparc64/include/exec.h b/sys/arch/sparc64/include/exec.h index dc2bfc948f7..07fe611ce47 100644 --- a/sys/arch/sparc64/include/exec.h +++ b/sys/arch/sparc64/include/exec.h @@ -1,7 +1,6 @@ -/* $OpenBSD: exec.h,v 1.7 2006/02/22 22:06:38 miod Exp $ */ +/* $OpenBSD: exec.h,v 1.8 2012/09/11 15:44:18 deraadt Exp $ */ /* $NetBSD: elf_machdep.h,v 1.7 2001/02/11 00:18:49 eeh Exp $ */ -#define NATIVE_EXEC_ELF #define _KERN_DO_ELF64 #define _NLIST_DO_ELF |