This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: R_MIPS16_GPREL patch
- To: Mark Mitchell <mark@codesourcery.com>
- Subject: Re: R_MIPS16_GPREL patch
- From: Richard Henderson <rth@cygnus.com>
- Date: Wed, 14 Jul 1999 10:56:51 -0700
- Cc: binutils@sourceware.cygnus.com
- References: <19990714095541V.mitchell@codesourcery.com>
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~