diff options
| author | christos <christos@NetBSD.org> | 2003-08-08 18:53:13 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2003-08-08 18:53:13 +0000 |
| commit | c3c2f78f98001ca011760df367ca66c68ebc49fd (patch) | |
| tree | 5705c196f22edd64d04679c31e511265589fd676 /sys/kern/exec_elf32.c | |
| parent | fc27d910c0fe00c73bb11b931a5f29b17b45c602 (diff) | |
GC: exec_foo_setup_stack; use exec_setup_stack, and provide a way for
emulations to override it.
Diffstat (limited to 'sys/kern/exec_elf32.c')
| -rw-r--r-- | sys/kern/exec_elf32.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/exec_elf32.c b/sys/kern/exec_elf32.c index 8e72acb94f5..b5237c17a4d 100644 --- a/sys/kern/exec_elf32.c +++ b/sys/kern/exec_elf32.c @@ -1,4 +1,4 @@ -/* $NetBSD: exec_elf32.c,v 1.93 2003/08/06 01:02:27 manu Exp $ */ +/* $NetBSD: exec_elf32.c,v 1.94 2003/08/08 18:53:13 christos Exp $ */ /*- * Copyright (c) 1994, 2000 The NetBSD Foundation, Inc. @@ -64,7 +64,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(1, "$NetBSD: exec_elf32.c,v 1.93 2003/08/06 01:02:27 manu Exp $"); +__KERNEL_RCSID(1, "$NetBSD: exec_elf32.c,v 1.94 2003/08/08 18:53:13 christos Exp $"); /* If not included by exec_elf64.c, ELFSIZE won't be defined. */ #ifndef ELFSIZE @@ -706,7 +706,7 @@ ELFNAME2(exec,makecmds)(struct proc *p, struct exec_package *epp) #endif FREE(interp, M_TEMP); free(ph, M_TEMP); - return exec_elf_setup_stack(p, epp); + return (*epp->ep_esch->es_setup_stack)(p, epp); bad: if (interp) |
