This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Tiny i860 relocation glitches (committed)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]