fix for undefined symbol 'panic'

Harti Brandt brandt at
Sun Jan 25 08:45:36 PST 2004

On Sun, 25 Jan 2004, Ken Smith wrote:

KS>On Sun, Jan 25, 2004 at 03:55:32PM +0100, Harti Brandt wrote:
KS>> The fix is wrong, I think, because __panic now takes three arguments.
KS>> I wrote phk a couple of days ago, but nothing happend so far. We could do
KS>> the equivalent of __panic(str, NULL, 0), or try to get the filename and
KS>> linenumber correct. But this is where my sparc asm foo stops.
KS>Thanks, I think you're right.
KS>My asm foo is rusty but I don't mind cleaning it up.  I'll work on this
KS>if nobody else wants to or has time or whatever.  Shouldn't be too
KS>hard to re-learn how to pass function parameters.  But I don't want to
KS>take away anyone else's fun if I'm stepping on toes.  I'm new to this
KS>area (sparc64 in general) in a variety of ways so I haven't noticed yet who
KS>tends to do what.

Go ahead. I think the arguments are passed in %o0, %o1 and %o2. I don't
know in what order, however.


harti brandt,
brandt at, harti at

More information about the freebsd-sparc64 mailing list