[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MIPS branching too far
From: |
Colin Burgess |
Subject: |
MIPS branching too far |
Date: |
Wed, 3 Oct 2001 13:29:51 -0400 (edt) |
Hello,
I've come across code which generates calls of the form
j $L2
which gets converted to a branch instruction by case in the
handling of M_J_A when compiling SVR4 PIC code.
The problem is that $L2 is too far away for a branch
instruction.
I think that what is needed is to load the address into a
register and then use that register as a jump destination,
if the destination is too far for a simple branch.
Thanks,
Colin
--
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- MIPS branching too far,
Colin Burgess <=