Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2004 15:55:32 +0100 (CET)
From:      Harti Brandt <brandt@fokus.fraunhofer.de>
To:        Ken Smith <kensmith@cse.Buffalo.EDU>
Cc:        freebsd-sparc64@freebsd.org
Subject:   Re: fix for undefined symbol 'panic'
Message-ID:  <20040125155351.X18713@beagle.fokus.fraunhofer.de>
In-Reply-To: <20040125055947.GA12258@electra.cse.Buffalo.EDU>
References:  <6.0.1.1.2.20040124173355.027d4508@mail.firetide.com> <20040125055947.GA12258@electra.cse.Buffalo.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 25 Jan 2004, Ken Smith wrote:

KS>On Sat, Jan 24, 2004 at 05:35:22PM -1000, David Cornejo wrote:
KS>> I think this is the fix.
KS>>
KS>> in directory /usr/src/sys/sparc64/include
KS>>
KS>> *** asmacros.h~ Tue Jul 15 14:08:43 2003
KS>> --- asmacros.h  Sat Jan 24 11:27:26 2004
KS>> ***************
KS>> *** 102,108 ****
KS>>   9:    .asciz  msg ; \
KS>>         .previous ; \
KS>>         SET(9b, r1, %o0) ; \
KS>> !       call    panic ; \
KS>>          nop
KS>>
KS>>   #ifdef INVARIANTS
KS>> --- 102,108 ----
KS>>   9:    .asciz  msg ; \
KS>>         .previous ; \
KS>>         SET(9b, r1, %o0) ; \
KS>> !       call    __panic ; \
KS>>          nop
KS>>
KS>>   #ifdef INVARIANTS
KS>
KS>Looks like this is correct.  Is there someone else "around" who
KS>normally takes care of this sort of thing or should I take care
KS>of it?

The fix is wrong, I think, because __panic now takes three arguments.
I wrote phk a couple of days ago, but nothing happend so far. We could do
the equivalent of __panic(str, NULL, 0), or try to get the filename and
linenumber correct. But this is where my sparc asm foo stops.

harti
-- 
harti brandt,
http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private
brandt@fokus.fraunhofer.de, harti@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040125155351.X18713>