summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
diff options
context:
space:
mode:
authorEric Jackson <ericj@cvs.openbsd.org>2002-01-22 21:50:50 +0000
committerEric Jackson <ericj@cvs.openbsd.org>2002-01-22 21:50:50 +0000
commit729380df968d79bdc55a8632779c4a3f7bf15bb9 (patch)
tree93a9d610b28b06376ec37a49caef90268fa312a7 /sys/arch/alpha
parent5922a5f3f4e77e677f31f0265207c7307dfef8ab (diff)
call osf1_exec_ecoff_hook for osf1 bin's
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/alpha/machdep.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/arch/alpha/alpha/machdep.c b/sys/arch/alpha/alpha/machdep.c
index a6e2e7576fc..0066276e299 100644
--- a/sys/arch/alpha/alpha/machdep.c
+++ b/sys/arch/alpha/alpha/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.62 2002/01/16 20:50:14 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.63 2002/01/22 21:50:49 ericj Exp $ */
/* $NetBSD: machdep.c,v 1.210 2000/06/01 17:12:38 thorpej Exp $ */
/*-
@@ -1981,18 +1981,14 @@ cpu_exec_ecoff_hook(p, epp)
struct exec_package *epp;
{
struct ecoff_exechdr *execp = (struct ecoff_exechdr *)epp->ep_hdr;
-#ifdef COMPAT_OSF1
- extern struct emul emul_osf1;
-#endif
extern struct emul emul_native;
int error;
- extern int osf1_exec_ecoff_hook(struct proc *p,
- struct exec_package *epp);
+ extern int osf1_exec_ecoff_hook(struct proc *, struct exec_package *);
switch (execp->f.f_magic) {
#ifdef COMPAT_OSF1
case ECOFF_MAGIC_ALPHA:
- epp->ep_emul = &emul_osf1;
+ error = osf1_exec_ecoff_hook(p, epp);
break;
#endif