This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH, RFC] MIPS: Implement the getcontext API
Hi,
On Tue, Apr 28, 2009 at 09:17:50PM +0200, 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)
>
You're missing one of the patches in the series (the additional changes
to the floating point register names). Once you apply that, you should
be good to go.
Cheers,
Phil