This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: MIPS Assembly.
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