diff options
| author | jdolecek <jdolecek@NetBSD.org> | 2002-11-13 13:40:51 +0000 |
|---|---|---|
| committer | jdolecek <jdolecek@NetBSD.org> | 2002-11-13 13:40:51 +0000 |
| commit | e97bb63daebf62dc98bd7273cf26f90eb4242eb0 (patch) | |
| tree | c24f27ece67656405de8a4723a45c5faf98dbd31 /sys/compat/linux | |
| parent | 3e8efcdd6163ec460eead9a47766cd19de544b90 (diff) | |
need to use LINUX_ELF_AUX_ENTRIES in LINUX_ELF_AUX_ARGSIZ
how this ever could have worked?
Diffstat (limited to 'sys/compat/linux')
| -rw-r--r-- | sys/compat/linux/arch/powerpc/linux_exec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/arch/powerpc/linux_exec.h b/sys/compat/linux/arch/powerpc/linux_exec.h index 1458bdc0c5a..ecd30dd60d4 100644 --- a/sys/compat/linux/arch/powerpc/linux_exec.h +++ b/sys/compat/linux/arch/powerpc/linux_exec.h @@ -1,4 +1,4 @@ -/* $NetBSD: linux_exec.h,v 1.9 2002/11/13 13:37:22 jdolecek Exp $ */ +/* $NetBSD: linux_exec.h,v 1.10 2002/11/13 13:40:51 jdolecek Exp $ */ /*- * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc. @@ -97,7 +97,7 @@ * room for the sp_wrap_code. */ #define LINUX_ELF_AUX_ARGSIZ \ - ((howmany(ELF_AUX_ENTRIES * sizeof(LinuxAuxInfo), sizeof(Elf32_Addr))) \ + ((howmany(LINUX_ELF_AUX_ENTRIES * sizeof(LinuxAuxInfo), sizeof(Elf32_Addr))) \ + 16 + LINUX_SP_WRAP) /* XXX should use ELFNAME2 */ |
