| To: | Aurelien Jarno <aurelien@aurel32.net> |
|---|---|
| Subject: | Re: [PATCH, RFC] MIPS: Implement the getcontext API |
| From: | "Maciej W. Rozycki" <macro@codesourcery.com> |
| Date: | Tue, 28 Apr 2009 21:19:54 +0100 (BST) |
| Cc: | "Joseph S. Myers" <joseph@codesourcery.com>, linux-mips@linux-mips.org, libc-ports@sourceware.org |
| In-reply-to: | <20090428191750.GZ4902@hall.aurel32.net> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <alpine.DEB.1.10.0902282326580.4064@tp.orcam.me.uk> <Pine.LNX.4.64.0904152018070.3560@digraph.polyomino.org.uk> <20090418123815.GA21240@linux-mips.org> <Pine.LNX.4.64.0904181732250.11016@digraph.polyomino.org.uk> <20090428191750.GZ4902@hall.aurel32.net> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Alpine 1.10 (DEB 962 2008-03-14) |
On Tue, 28 Apr 2009, Aurelien Jarno wrote: > Note that this code does not compile on mips64, I get the following > error from binutils (2.19.1): > ../ports/sysdeps/unix/sysv/linux/mips/getcontext.S: Assembler messages: > ../ports/sysdeps/unix/sysv/linux/mips/getcontext.S:102: Error: illegal > operands `s.d fs6,(30*8+296)($4)' > ../ports/sysdeps/unix/sysv/linux/mips/getcontext.S:103: Error: illegal > operands `s.d fs7,(31*8+296)($4)' > > The corresponding code lines are: > > 98 s.d fs2, (26 * SZREG + MCONTEXT_FPREGS)(a0) > 99 s.d fs3, (27 * SZREG + MCONTEXT_FPREGS)(a0) > 100 s.d fs4, (28 * SZREG + MCONTEXT_FPREGS)(a0) > 101 s.d fs5, (29 * SZREG + MCONTEXT_FPREGS)(a0) > 102 s.d fs6, (30 * SZREG + MCONTEXT_FPREGS)(a0) > 103 s.d fs7, (31 * SZREG + MCONTEXT_FPREGS)(a0) This code was validated with all the three ABIs before submission. Does your problem happen with vanilla upstream or your locally-modified sources? If the latter, then please make sure you've got all the necessary updates applied. Maciej |
| Previous by Date: | Re: [PATCH, RFC] MIPS: Implement the getcontext API, Philippe Vachon |
|---|---|
| Next by Date: | Re: [PATCH, RFC] MIPS: Implement the getcontext API, Aurelien Jarno |
| Previous by Thread: | Re: [PATCH, RFC] MIPS: Implement the getcontext API, Philippe Vachon |
| Next by Thread: | Re: [PATCH, RFC] MIPS: Implement the getcontext API, Aurelien Jarno |
| Indexes: | [Date] [Thread] [Top] [All Lists] |