diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2017-02-08 05:09:27 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2017-02-08 05:09:27 +0000 |
commit | dce59fe6e1e128ed03c16e493686ecd655007b83 (patch) | |
tree | 1a0af8032f920fef5e6b02bd94aa273279586f40 /sys/arch/sh | |
parent | eebfc47f73667f8b137ff4b393a24084a2a944fc (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/sh')
-rw-r--r-- | sys/arch/sh/include/exec.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/sh/include/exec.h b/sys/arch/sh/include/exec.h index a189a8f8aef..125287ec99a 100644 --- a/sys/arch/sh/include/exec.h +++ b/sys/arch/sh/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.4 2015/08/29 01:58:39 guenther Exp $ */ +/* $OpenBSD: exec.h,v 1.5 2017/02/08 05:09:26 guenther Exp $ */ /* $NetBSD: elf_machdep.h,v 1.8 2002/04/28 17:10:34 uch Exp $ */ #define __LDPGSZ 4096 @@ -12,8 +12,6 @@ #endif #define ELF_TARG_MACH EM_SH -#define _KERN_DO_ELF - /* * SuperH ELF header flags. */ |