| To: | "Maciej W. Rozycki" <macro@ds2.pg.gda.pl> |
|---|---|
| Subject: | Re: Illegal instruction - a workaround or fix ? |
| From: | Ralf Baechle <ralf@oss.sgi.com> |
| Date: | Mon, 30 Apr 2001 17:24:19 -0300 |
| Cc: | Florian Lohoff <flo@rfc822.org>, Pete Popov <ppopov@mvista.com>, linux-mips@oss.sgi.com |
| In-reply-to: | <Pine.GSO.3.96.1010430113243.889B-100000@delta.ds2.pg.gda.pl>; from macro@ds2.pg.gda.pl on Mon, Apr 30, 2001 at 11:34:32AM +0200 |
| References: | <20010420215841.D15990@paradigm.rfc822.org> <Pine.GSO.3.96.1010430113243.889B-100000@delta.ds2.pg.gda.pl> |
| Sender: | owner-linux-mips@oss.sgi.com |
| User-agent: | Mutt/1.2.5i |
On Mon, Apr 30, 2001 at 11:34:32AM +0200, Maciej W. Rozycki 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. MIPS ABI doesn't define that ra gets stored at a constant offset in the stackframe, so that won't work. Ralf |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | mips64 linux glibc compilation broken?, Justin Carlson |
|---|---|
| Previous by Thread: | Re: Illegal instruction - a workaround or fix ?, Maciej W. Rozycki |
| Next by Thread: | gcc cvs entries, George Gensure,,, |
| Indexes: | [Date] [Thread] [Top] [All Lists] |