This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [Patch] Tiny i860 relocation glitches (committed)
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Jason Eckhardt <jle at owlnet dot rice dot edu>
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 12 May 2003 12:49:42 +0930
- Subject: Re: [Patch] Tiny i860 relocation glitches (committed)
- References: <Pine.GSO.4.33.0305112209060.28239-100000@forest.owlnet.rice.edu>
On Sun, May 11, 2003 at 10:12:24PM -0500, Jason Eckhardt wrote:
> value += rel->r_addend;
> + value += (value & 0x8000) << 1;
"value += 0x8000" accomplishes the same thing a little more
efficiently. Not that it matters..
> value = ((value >> 16) & 0xffff);
--
Alan Modra
IBM OzLabs - Linux Technology Centre