R_MIPS16_GPREL patch
Richard Henderson
rth@cygnus.com
Wed Jul 14 17:02:00 GMT 1999
On Wed, Jul 14, 1999 at 09:55:41AM -0700, Mark Mitchell wrote:
> + /* R_MIPS16_GPREL is used for GP-relative addressing in mips16
> + mode. A typical instruction will have a format like this:
>
> + +--------------+--------------------------------+
> + ! EXTEND ! Imm 10:5 ! Imm 15:11 !
> + +--------------+--------------------------------+
> + ! Major ! rx ! ry ! Imm 4:0 !
> + +--------------+--------------------------------+
Perhaps it didn't mention it, but I'm fairly sure you have
the same little-endian issue to deal with here. Or maybe
I'm just missing where the word swap is happening?
r~
More information about the Binutils
mailing list