summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoretheisen <etheisen@openbsd.org>1996-05-22 07:38:30 +0000
committeretheisen <etheisen@openbsd.org>1996-05-22 07:38:30 +0000
commit4fbfd17d15f945122d644f88820d7a2ff38e61a5 (patch)
tree6425c7a87ec53e9a4cc7e8f6142e2b3f3f3bc562
parentmachine/asm.h is sufficient (diff)
downloadwireguard-openbsd-4fbfd17d15f945122d644f88820d7a2ff38e61a5.tar.xz
wireguard-openbsd-4fbfd17d15f945122d644f88820d7a2ff38e61a5.zip
Moved contents of elf_abi.h into sys/exec_elf.h. Adjusted dependant
files to reflect new header.
-rw-r--r--sys/kern/exec_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/exec_conf.c b/sys/kern/exec_conf.c
index 4bb8a72d249..14d0db019f3 100644
--- a/sys/kern/exec_conf.c
+++ b/sys/kern/exec_conf.c
@@ -102,7 +102,7 @@ struct execsw execsw[] = {
{ ECOFF_HDR_SIZE, exec_ecoff_makecmds, }, /* ecoff binaries */
#endif
#ifdef EXEC_ELF
- { ELF_HDR_SIZE, exec_elf_makecmds, }, /* elf binaries */
+ { sizeof(Elf32_Ehdr), exec_elf_makecmds, }, /* elf binaries */
#endif
#ifdef COMPAT_LINUX
{ LINUX_AOUT_HDR_SIZE, exec_linux_aout_makecmds, }, /* linux a.out */