summaryrefslogtreecommitdiff
path: root/sys/arch/mips64/include/exec.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-12-12 20:03:17 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-12-12 20:03:17 +0000
commit37cbeb1ba1e93f3613b916d4036193912dc1d66f (patch)
tree555ab2a64161c2c718893adb294f305816464048 /sys/arch/mips64/include/exec.h
parent3c663b9e14f7d3d2a1ea6e7a93e839872199f119 (diff)
unifdef -D__LP64__
Diffstat (limited to 'sys/arch/mips64/include/exec.h')
-rw-r--r--sys/arch/mips64/include/exec.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/arch/mips64/include/exec.h b/sys/arch/mips64/include/exec.h
index c4f32574dec..e1d9e903301 100644
--- a/sys/arch/mips64/include/exec.h
+++ b/sys/arch/mips64/include/exec.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec.h,v 1.3 2009/11/30 18:41:13 miod Exp $ */
+/* $OpenBSD: exec.h,v 1.4 2009/12/12 20:03:16 miod Exp $ */
/*
* Copyright (c) 1996-2004 Per Fogelstrom, Opsycon AB
@@ -41,15 +41,9 @@
/*
* If included from sys/exec.h define kernels ELF format.
*/
-#ifdef __LP64__
#define ARCH_ELFSIZE 64
#define DB_ELFSIZE 64
#define ELF_TARG_CLASS ELFCLASS64
-#else
-#define ARCH_ELFSIZE 32
-#define DB_ELFSIZE 32
-#define ELF_TARG_CLASS ELFCLASS32
-#endif
#if defined(__MIPSEB__)
#define ELF_TARG_DATA ELFDATA2MSB
@@ -60,11 +54,7 @@
#define _NLIST_DO_ELF
-#if defined(_LP64)
#define _KERN_DO_ELF64
-#else
-#define _KERN_DO_ELF
-#endif
/* Information taken from MIPS ABI supplemental */