summaryrefslogtreecommitdiff
path: root/sys/arch/m88k
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2017-02-08 05:09:27 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2017-02-08 05:09:27 +0000
commitdce59fe6e1e128ed03c16e493686ecd655007b83 (patch)
tree1a0af8032f920fef5e6b02bd94aa273279586f40 /sys/arch/m88k
parenteebfc47f73667f8b137ff4b393a24084a2a944fc (diff)
In exec_elf.c: expand ELFNAME(), ELFNAME2(), and ELFNAMEEND() except
leaving out the size, so that ELFNAME2(exec,makecmds) becomes exec_elf_makecmds instead of exec_elf{32,64}_makecmds and then delete the ELFNAME2() and ELFNAMEEND() macros. Move the prototypes for functions local to exec_elf.c to there from exec_elf.h. Simplify the SMALL_KERNEL conditionals around the ELF coredump code. Change exec_conf.c to use the size-generic names and macros Remove exec_elf{32,64}.c and just build exec_elf.c; delete the _KERN_DO_ELF and _KERN_DO_ELF64 #defines. ok jca@, encouragement from deraadt@ and tom@
Diffstat (limited to 'sys/arch/m88k')
-rw-r--r--sys/arch/m88k/include/exec.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/m88k/include/exec.h b/sys/arch/m88k/include/exec.h
index 94da6aa03ae..4e8fd93d6f7 100644
--- a/sys/arch/m88k/include/exec.h
+++ b/sys/arch/m88k/include/exec.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec.h,v 1.6 2015/08/29 01:58:39 guenther Exp $ */
+/* $OpenBSD: exec.h,v 1.7 2017/02/08 05:09:25 guenther Exp $ */
#ifndef _M88K_EXEC_H_
#define _M88K_EXEC_H_
@@ -10,8 +10,6 @@
#define ELF_TARG_DATA ELFDATA2MSB
#define ELF_TARG_MACH EM_88K
-#define _KERN_DO_ELF
-
/* Processor specific dynamic tag values. */
#define DT_88K_ADDRBASE 0x70000001
#define DT_88K_PLTSTART 0x70000002