MIPS Assembly.

Thiemo Seufer ica2_ts@csv.ica.uni-stuttgart.de
Tue Jun 22 01:31:00 GMT 2004


Hans-Peter Nilsson wrote:
[snip]
> > It has AFAIK the problem of exporting broken R_MIPS_PC16 relocs, which
> > limits the branch range to +-32k, and may cause binary compatibility
> > problems in future.
> 
> So this was for jumping back from the "exception handler" in the
> get_user/put_user macros (supposedly in asm-mips/uaccess.h)?
> 
> Methinks it's very unlikely that the distance from the
> "exception code" section in the kernel is less than 32k. ;-)
> Doesn't mips have a long-jump insn that can be used?

It has, but wants a global symbol for jumps across sections.


Thiemo



More information about the Binutils mailing list