From: downsj Date: Mon, 31 Mar 1997 07:25:48 +0000 (+0000) Subject: Jump to loadaddr instead of entry due to libsa change. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8c4f0d14b4ababc8950b98980a1ba52b27b4d5eb;p=openbsd Jump to loadaddr instead of entry due to libsa change. --- diff --git a/sys/arch/hp300/stand/machdep.c b/sys/arch/hp300/stand/machdep.c index aed315de64d..f751ea9c99a 100644 --- a/sys/arch/hp300/stand/machdep.c +++ b/sys/arch/hp300/stand/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.2 1997/01/17 08:32:52 downsj Exp $ */ +/* $OpenBSD: machdep.c,v 1.3 1997/03/31 07:25:48 downsj Exp $ */ /* $NetBSD: machdep.c,v 1.6 1996/10/14 07:33:46 thorpej Exp $ */ /* @@ -170,5 +170,5 @@ machdep_start(entry, howto, loadaddr, ssym, esym) asm("movl %0,d5" : : "m" (cons_scode)); asm("movl %0,a5" : : "a" (loadaddr)); asm("movl %0,a4" : : "a" (esym)); - (*((int (*)())entry))(); + (*((int (*)())loadaddr))(); }