diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-02-09 19:25:14 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-02-09 19:25:14 +0000 |
commit | 962f09baea9a9f568891b249e0c5189691d770cb (patch) | |
tree | a8d983f47dedc8a97e4f5f78adcf46264882149e /sys | |
parent | ad7e63542e5a27b6398796e161579e5fb75f71d2 (diff) |
No longer define EXEC_SCRIPT (probably coming from old PefoBSD). Also,
DB_ELFSIZE ought to be defined in <machine/db_machdep.h>, not <machine/exec.h>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/mips64/include/db_machdep.h | 3 | ||||
-rw-r--r-- | sys/arch/mips64/include/exec.h | 14 | ||||
-rw-r--r-- | sys/arch/powerpc/include/exec.h | 9 |
3 files changed, 6 insertions, 20 deletions
diff --git a/sys/arch/mips64/include/db_machdep.h b/sys/arch/mips64/include/db_machdep.h index 2ddf903fb32..44678a9adb8 100644 --- a/sys/arch/mips64/include/db_machdep.h +++ b/sys/arch/mips64/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_machdep.h,v 1.12 2011/03/23 16:54:36 pirofti Exp $ */ +/* $OpenBSD: db_machdep.h,v 1.13 2013/02/09 19:25:13 miod Exp $ */ /* * Copyright (c) 1998-2003 Opsycon AB (www.opsycon.se) @@ -35,6 +35,7 @@ #define DB_MACHINE_COMMANDS /* We have machine specific commands */ #define DB_ELF_SYMBOLS /* Elf style symbol table support */ +#define DB_ELFSIZE 64 typedef struct trap_frame db_regs_t; extern db_regs_t ddb_regs; diff --git a/sys/arch/mips64/include/exec.h b/sys/arch/mips64/include/exec.h index 02447c309ff..108df1b7aa0 100644 --- a/sys/arch/mips64/include/exec.h +++ b/sys/arch/mips64/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.5 2012/09/11 15:44:18 deraadt Exp $ */ +/* $OpenBSD: exec.h,v 1.6 2013/02/09 19:25:13 miod Exp $ */ /* * Copyright (c) 1996-2004 Per Fogelstrom, Opsycon AB @@ -31,17 +31,7 @@ #define __LDPGSZ 16384 -/* - * Define what exec "formats" we should handle. - */ -#define NATIVE_ELFSIZE 64 -#define EXEC_SCRIPT - -/* - * If included from sys/exec.h define kernels ELF format. - */ #define ARCH_ELFSIZE 64 -#define DB_ELFSIZE 64 #define ELF_TARG_CLASS ELFCLASS64 #if defined(__MIPSEB__) @@ -55,7 +45,7 @@ #define _KERN_DO_ELF64 -/* Information taken from MIPS ABI supplemental */ +/* Information taken from MIPS ABI supplement */ /* Architecture dependent Segment types - p_type */ #define PT_MIPS_REGINFO 0x70000000 /* Register usage information */ diff --git a/sys/arch/powerpc/include/exec.h b/sys/arch/powerpc/include/exec.h index 79b18733da8..1afbdc6048a 100644 --- a/sys/arch/powerpc/include/exec.h +++ b/sys/arch/powerpc/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.11 2012/09/11 15:44:18 deraadt Exp $ */ +/* $OpenBSD: exec.h,v 1.12 2013/02/09 19:25:13 miod 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.11 2012/09/11 15:44:18 deraadt Exp $ + * $Id: exec.h,v 1.12 2013/02/09 19:25:13 miod Exp $ */ #ifndef _POWERPC_EXEC_H_ @@ -32,11 +32,6 @@ #define __LDPGSZ 4096 /* linker page size */ -/* - * Define what exec "formats" we should handle. - */ -#define EXEC_SCRIPT - #define ARCH_ELFSIZE 32 #define ELF_TARG_CLASS ELFCLASS32 |