diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-01-22 14:51:08 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-01-22 14:51:08 +0000 |
commit | 575b660a4d503622d7984556411f699a43a2a0b7 (patch) | |
tree | d804b16e87d3f127730954b3977303efa7bc911e | |
parent | adfc95d92dfb44cc8440e06aa0ad81a0cd195768 (diff) |
Define ARCH_ELFSIZE that is the default elf size on this arch.
-rw-r--r-- | sys/arch/alpha/include/exec.h | 4 | ||||
-rw-r--r-- | sys/arch/arc/include/exec.h | 4 | ||||
-rw-r--r-- | sys/arch/arm32/include/exec.h | 2 | ||||
-rw-r--r-- | sys/arch/atari/include/exec.h | 2 | ||||
-rw-r--r-- | sys/arch/hp300/include/exec.h | 4 | ||||
-rw-r--r-- | sys/arch/hppa/include/exec.h | 4 | ||||
-rw-r--r-- | sys/arch/i386/include/exec.h | 4 | ||||
-rw-r--r-- | sys/arch/kbus/include/exec.h | 2 | ||||
-rw-r--r-- | sys/arch/m68k/include/exec.h | 4 | ||||
-rw-r--r-- | sys/arch/mac68k/include/exec.h | 4 | ||||
-rw-r--r-- | sys/arch/mvme68k/include/exec.h | 4 | ||||
-rw-r--r-- | sys/arch/mvme88k/include/exec.h | 4 | ||||
-rw-r--r-- | sys/arch/pc532/include/exec.h | 2 | ||||
-rw-r--r-- | sys/arch/pmax/include/exec.h | 4 | ||||
-rw-r--r-- | sys/arch/powerpc/include/exec.h | 6 | ||||
-rw-r--r-- | sys/arch/sparc/include/exec.h | 4 | ||||
-rw-r--r-- | sys/arch/sun3/include/exec.h | 4 | ||||
-rw-r--r-- | sys/arch/wgrisc/include/exec.h | 4 |
18 files changed, 51 insertions, 15 deletions
diff --git a/sys/arch/alpha/include/exec.h b/sys/arch/alpha/include/exec.h index 60d74919286..12e87fe53f4 100644 --- a/sys/arch/alpha/include/exec.h +++ b/sys/arch/alpha/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.6 2000/12/14 16:53:27 art Exp $ */ +/* $OpenBSD: exec.h,v 1.7 2001/01/22 14:51:02 art Exp $ */ /* $NetBSD: exec.h,v 1.1 1995/02/13 23:07:37 cgd Exp $ */ /* @@ -38,6 +38,8 @@ #define NATIVE_EXEC_ELF +#define ARCH_ELFSIZE 64 + #define ELF_TARG_CLASS ELFCLASS64 #define ELF_TARG_DATA ELFDATA2LSB #define ELF_TARG_MACH EM_ALPHA_EXP diff --git a/sys/arch/arc/include/exec.h b/sys/arch/arc/include/exec.h index 18ea54bdc82..a1531969a19 100644 --- a/sys/arch/arc/include/exec.h +++ b/sys/arch/arc/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.2 1996/12/23 02:42:26 deraadt Exp $ */ +/* $OpenBSD: exec.h,v 1.3 2001/01/22 14:51:03 art Exp $ */ /* $NetBSD: exec.h,v 1.5 1994/10/26 21:09:39 cgd Exp $ */ /*- @@ -44,6 +44,8 @@ #define NATIVE_EXEC_ELF #define EXEC_SCRIPT +#define ARCH_ELFSIZE 32 + #define ELF_TARG_CLASS ELFCLASS32 #define ELF_TARG_DATA ELFDATA2LSB #define ELF_TARG_MACH EM_MIPS diff --git a/sys/arch/arm32/include/exec.h b/sys/arch/arm32/include/exec.h index 0761398bc52..6225b1ce45a 100644 --- a/sys/arch/arm32/include/exec.h +++ b/sys/arch/arm32/include/exec.h @@ -56,6 +56,8 @@ struct relocation_info_arm6 { /* No special executable format */ #define cpu_exec_aout_makecmds(a, b) ENOEXEC +#define ARCH_ELFSIZE 32 + #define ELF_TARG_CLASS ELFCLASS32 #define ELF_TARG_DATA ELFDATA2LSB #define ELF_TARG_MACH EM_ARM diff --git a/sys/arch/atari/include/exec.h b/sys/arch/atari/include/exec.h index 2537bb10931..ca46f9e6341 100644 --- a/sys/arch/atari/include/exec.h +++ b/sys/arch/atari/include/exec.h @@ -46,6 +46,8 @@ struct relocation_info_m68k { }; #define relocation_info relocation_info_m68k +#define ARCH_ELFSIZE 32 + #define ELF_TARG_CLASS ELFCLASS32 #define ELF_TARG_DATA ELFDATA2MSB #define ELF_TARG_MACH EM_68K diff --git a/sys/arch/hp300/include/exec.h b/sys/arch/hp300/include/exec.h index 393d2fe01f6..df79c23895b 100644 --- a/sys/arch/hp300/include/exec.h +++ b/sys/arch/hp300/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.7 1997/01/12 15:13:34 downsj Exp $ */ +/* $OpenBSD: exec.h,v 1.8 2001/01/22 14:51:03 art Exp $ */ /* $NetBSD: exec.h,v 1.10 1995/11/20 01:15:26 thorpej Exp $ */ /* @@ -47,6 +47,8 @@ struct relocation_info_m68k { }; #define relocation_info relocation_info_m68k +#define ARCH_ELFSIZE 32 + #define ELF_TARG_CLASS ELFCLASS32 #define ELF_TARG_DATA ELFDATA2MSB #define ELF_TARG_MACH EM_68K diff --git a/sys/arch/hppa/include/exec.h b/sys/arch/hppa/include/exec.h index 5dc7a800dc5..1aa6fba56fe 100644 --- a/sys/arch/hppa/include/exec.h +++ b/sys/arch/hppa/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.5 1999/11/16 16:44:04 mickey Exp $ */ +/* $OpenBSD: exec.h,v 1.6 2001/01/22 14:51:03 art Exp $ */ /* * Copyright (c) 1994, The University of Utah and @@ -31,6 +31,8 @@ /* Size of a page in an object file. */ #define __LDPGSZ 4096 +#define ARCH_ELFSIZE 32 + #define ELF_TARG_CLASS ELFCLASS32 #define ELF_TARG_DATA ELFDATA2MSB #define ELF_TARG_MACH EM_PARISC diff --git a/sys/arch/i386/include/exec.h b/sys/arch/i386/include/exec.h index f87531f2216..d2da6e9965e 100644 --- a/sys/arch/i386/include/exec.h +++ b/sys/arch/i386/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.7 2000/08/05 22:07:31 niklas Exp $ */ +/* $OpenBSD: exec.h,v 1.8 2001/01/22 14:51:04 art Exp $ */ /* $NetBSD: exec.h,v 1.6 1994/10/27 04:16:05 cgd Exp $ */ /* @@ -47,6 +47,8 @@ struct relocation_info_i386 { }; #define relocation_info relocation_info_i386 +#define ARCH_ELFSIZE 32 + #define ELF_TARG_CLASS ELFCLASS32 #define ELF_TARG_DATA ELFDATA2LSB #define ELF_TARG_MACH EM_386 /* XXX - EM_486 is currently unused diff --git a/sys/arch/kbus/include/exec.h b/sys/arch/kbus/include/exec.h index b4c3925fd48..00834db5f52 100644 --- a/sys/arch/kbus/include/exec.h +++ b/sys/arch/kbus/include/exec.h @@ -57,6 +57,8 @@ struct relocation_info_sparc { }; #define relocation_info relocation_info_sparc +#define ARCH_ELFSIZE 32 + #define ELF_TARG_CLASS ELFCLASS32 #define ELF_TARG_DATA ELFDATA2MSB #define ELF_TARG_MACH EM_SPARC diff --git a/sys/arch/m68k/include/exec.h b/sys/arch/m68k/include/exec.h index 840e88ac353..522f4c2b595 100644 --- a/sys/arch/m68k/include/exec.h +++ b/sys/arch/m68k/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.1 1999/05/16 23:46:22 espie Exp $ */ +/* $OpenBSD: exec.h,v 1.2 2001/01/22 14:51:04 art Exp $ */ /* $NetBSD: exec.h,v 1.8 1994/11/21 21:33:39 gwr Exp $ */ /* @@ -47,6 +47,8 @@ struct relocation_info_m68k { }; #define relocation_info relocation_info_m68k +#define ARCH_ELFSIZE 32 + #define ELF_TARG_CLASS ELFCLASS32 #define ELF_TARG_DATA ELFDATA2MSB #define ELF_TARG_MACH EM_68K diff --git a/sys/arch/mac68k/include/exec.h b/sys/arch/mac68k/include/exec.h index ab28e74559c..14e95b24252 100644 --- a/sys/arch/mac68k/include/exec.h +++ b/sys/arch/mac68k/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.6 1997/11/30 06:12:25 gene Exp $ */ +/* $OpenBSD: exec.h,v 1.7 2001/01/22 14:51:04 art Exp $ */ /* $NetBSD: exec.h,v 1.8 1996/05/05 06:17:40 briggs Exp $ */ /*- @@ -55,6 +55,8 @@ struct relocation_info_mac68k { }; #define relocation_info relocation_info_mac68k +#define ARCH_ELFSIZE 32 + #define ELF_TARG_CLASS ELFCLASS32 #define ELF_TARG_DATA ELFDATA2MSB #define ELF_TARG_MACH EM_68K diff --git a/sys/arch/mvme68k/include/exec.h b/sys/arch/mvme68k/include/exec.h index 9de9c813006..fe72f195227 100644 --- a/sys/arch/mvme68k/include/exec.h +++ b/sys/arch/mvme68k/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.6 1997/03/31 00:24:01 downsj Exp $ */ +/* $OpenBSD: exec.h,v 1.7 2001/01/22 14:51:04 art Exp $ */ /* * Copyright (c) 1993 Christopher G. Demetriou @@ -45,6 +45,8 @@ struct relocation_info_m68k { }; #define relocation_info relocation_info_m68k +#define ARCH_ELFSIZE 32 + #define ELF_TARG_CLASS ELFCLASS32 #define ELF_TARG_DATA ELFDATA2MSB #define ELF_TARG_MACH EM_68K diff --git a/sys/arch/mvme88k/include/exec.h b/sys/arch/mvme88k/include/exec.h index 8adb5fc2072..343fa69ffe2 100644 --- a/sys/arch/mvme88k/include/exec.h +++ b/sys/arch/mvme88k/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.8 2001/01/14 20:25:24 smurph Exp $ */ +/* $OpenBSD: exec.h,v 1.9 2001/01/22 14:51:05 art Exp $ */ #ifndef __MACHINE_EXEC_H__ #define __MACHINE_EXEC_H__ @@ -17,6 +17,8 @@ struct relocation_info_m88k { }; #define relocation_info relocation_info_m88k +#define ARCH_ELFSIZE 32 + #define ELF_TARG_CLASS ELFCLASS32 #define ELF_TARG_DATA ELFDATA2MSB #define ELF_TARG_MACH EM_88K diff --git a/sys/arch/pc532/include/exec.h b/sys/arch/pc532/include/exec.h index c8055f80b5b..6628ce8520e 100644 --- a/sys/arch/pc532/include/exec.h +++ b/sys/arch/pc532/include/exec.h @@ -47,6 +47,8 @@ struct relocation_info_pc532 { }; #define relocation_info relocation_info_pc532 +#define ARCH_ELFSIZE 32 + #define ELF_TARG_CLASS ELFCLASS32 #define ELF_TARG_DATA ELFDATA2LSB #define ELF_TARG_MACH EM_32K diff --git a/sys/arch/pmax/include/exec.h b/sys/arch/pmax/include/exec.h index 22ad23ebf19..4c91f1a58bc 100644 --- a/sys/arch/pmax/include/exec.h +++ b/sys/arch/pmax/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.7 1996/12/23 02:42:34 deraadt Exp $ */ +/* $OpenBSD: exec.h,v 1.8 2001/01/22 14:51:06 art Exp $ */ /* $NetBSD: exec.h,v 1.5 1994/10/26 21:09:39 cgd Exp $ */ /*- @@ -44,6 +44,8 @@ #define NATIVE_EXEC_ELF #define EXEC_SCRIPT +#define ARCH_ELFSIZE 32 + #define ELF_TARG_CLASS ELFCLASS32 #define ELF_TARG_DATA ELFDATA2LSB #define ELF_TARG_MACH EM_MIPS diff --git a/sys/arch/powerpc/include/exec.h b/sys/arch/powerpc/include/exec.h index b1a9f31d984..5bb05a8ccfa 100644 --- a/sys/arch/powerpc/include/exec.h +++ b/sys/arch/powerpc/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.5 1997/10/13 10:53:43 pefo Exp $ */ +/* $OpenBSD: exec.h,v 1.6 2001/01/22 14:51:06 art Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom, Opsycon AB. @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: exec.h,v 1.5 1997/10/13 10:53:43 pefo Exp $ + * $Id: exec.h,v 1.6 2001/01/22 14:51:06 art Exp $ */ #ifndef _MACHINE_EXEC_H_ @@ -44,6 +44,8 @@ #define NATIVE_EXEC_ELF #define EXEC_SCRIPT +#define ARCH_ELFSIZE 32 + #define ELF_TARG_CLASS ELFCLASS32 #define ELF_TARG_DATA ELFDATA2MSB #define ELF_TARG_MACH EM_PPC diff --git a/sys/arch/sparc/include/exec.h b/sys/arch/sparc/include/exec.h index 520345dbe10..88401eb08bb 100644 --- a/sys/arch/sparc/include/exec.h +++ b/sys/arch/sparc/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.7 1997/08/08 08:26:16 downsj Exp $ */ +/* $OpenBSD: exec.h,v 1.8 2001/01/22 14:51:06 art Exp $ */ /* $NetBSD: exec.h,v 1.7 1994/11/20 20:53:02 deraadt Exp $ */ /* @@ -58,6 +58,8 @@ struct relocation_info_sparc { }; #define relocation_info relocation_info_sparc +#define ARCH_ELFSIZE 32 + #define ELF_TARG_CLASS ELFCLASS32 #define ELF_TARG_DATA ELFDATA2MSB #define ELF_TARG_MACH EM_SPARC diff --git a/sys/arch/sun3/include/exec.h b/sys/arch/sun3/include/exec.h index 7e24e867ab0..18d5c002912 100644 --- a/sys/arch/sun3/include/exec.h +++ b/sys/arch/sun3/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.7 1997/09/21 04:21:08 niklas Exp $ */ +/* $OpenBSD: exec.h,v 1.8 2001/01/22 14:51:07 art Exp $ */ /* $NetBSD: exec.h,v 1.8 1994/11/21 21:33:39 gwr Exp $ */ /* @@ -47,6 +47,8 @@ struct relocation_info_m68k { }; #define relocation_info relocation_info_m68k +#define ARCH_ELFSIZE 32 + #define ELF_TARG_CLASS ELFCLASS32 #define ELF_TARG_DATA ELFDATA2MSB #define ELF_TARG_MACH EM_68K diff --git a/sys/arch/wgrisc/include/exec.h b/sys/arch/wgrisc/include/exec.h index 05ba554d5dc..ae6b0503df6 100644 --- a/sys/arch/wgrisc/include/exec.h +++ b/sys/arch/wgrisc/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.1 1997/02/06 16:02:43 pefo Exp $ */ +/* $OpenBSD: exec.h,v 1.2 2001/01/22 14:51:07 art Exp $ */ /* $NetBSD: exec.h,v 1.5 1994/10/26 21:09:39 cgd Exp $ */ /*- @@ -44,6 +44,8 @@ #define NATIVE_EXEC_ELF #define EXEC_SCRIPT +#define ARCH_ELFSIZE 32 + #define ELF_TARG_CLASS ELFCLASS32 #define ELF_TARG_DATA ELFDATA2LSB #define ELF_TARG_MACH EM_MIPS |