MIPS Assembly.

Hans-Peter Nilsson hp@bitrange.com
Tue Jun 22 02:16:00 GMT 2004


On Tue, 22 Jun 2004, Thiemo Seufer wrote:
> Hans-Peter Nilsson wrote:
> > Doesn't mips have a long-jump insn that can be used?
>
> It has, but wants a global symbol for jumps across sections.

Ah.  But it does presumably have a a jump-to-register insn?
(Checking...  Looks like "j REG" can be used according to
mips.md:indirect_jump.)

Supposedly there's a register that can be loaded with the local
symbol in the get_user and put_user asms, and the register
marked as clobbered in the asm?

brgds, H-P



More information about the Binutils mailing list