From dce59fe6e1e128ed03c16e493686ecd655007b83 Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Wed, 8 Feb 2017 05:09:27 +0000 Subject: 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@ --- sys/arch/mips64/include/exec.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/arch/mips64/include') diff --git a/sys/arch/mips64/include/exec.h b/sys/arch/mips64/include/exec.h index 8afad2b9f99..0d254343dcb 100644 --- a/sys/arch/mips64/include/exec.h +++ b/sys/arch/mips64/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.7 2015/08/29 01:58:39 guenther Exp $ */ +/* $OpenBSD: exec.h,v 1.8 2017/02/08 05:09:25 guenther Exp $ */ /* * Copyright (c) 1996-2004 Per Fogelstrom, Opsycon AB @@ -41,8 +41,6 @@ #endif #define ELF_TARG_MACH EM_MIPS -#define _KERN_DO_ELF64 - /* Information taken from MIPS ABI supplement */ /* Architecture dependent Segment types - p_type */ -- cgit v1.2.3