On Wed, 22 Jun 2005, Andrew Isaacson wrote: > Toolchain compat fix: gas 2.12.1 doesn't understand two-argument jalr, > and the $ra is redundant anyways. Is it really the case? Perhaps it doesn't know the symbolic name of the register which has only been added recently. Replacing it with $31 should fix the problem, but your patch is obviously correct regardless. The code is broken anyway -- I've tried fixing it, but I've hit shortcomings of macros in <asm/addrspace.h> (I've got working code, but GCC complains loudly), so it may yet take a while. Maciej