linux-mips
[Top] [All Lists]

Re: Illegal instruction - a workaround or fix ?

To: Florian Lohoff <flo@rfc822.org>
Subject: Re: Illegal instruction - a workaround or fix ?
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Mon, 30 Apr 2001 11:34:32 +0200 (MET DST)
Cc: Pete Popov <ppopov@mvista.com>, Ralf Baechle <ralf@oss.sgi.com>, linux-mips@oss.sgi.com
In-reply-to: <20010420215841.D15990@paradigm.rfc822.org>
Organization: Technical University of Gdansk
Sender: owner-linux-mips@oss.sgi.com
On Fri, 20 Apr 2001, Florian Lohoff wrote:

> A different solution would be to take the usual exit in sysmips via
> the return at the end (for which the compiler generated a correct
> epilogue) and modify the return address - This is an very ugly hack
> and you cant tell where the compiler stores the ra on the stack.

 It could be doable with __builtin_frame_address().  Haven't investigated
it further, though. 

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


<Prev in Thread] Current Thread [Next in Thread>