[committed, PATCH] Remove Disp16|Disp32 from 64-bit direct branches
H.J. Lu
hjl.tools@gmail.com
Tue May 12 14:49:00 GMT 2015
On Tue, May 12, 2015 at 7:31 AM, Michael Matz <matz@suse.de> wrote:
> Hi,
>
> On Tue, 12 May 2015, H.J. Lu wrote:
>
>> > This is with 2.23, so your patch would cause a regression:
>>
>> 1. This happened before 20140923.
>
> Same with current 2.25-branch.
>
>> 2. Can you speculate what
>>
>> " jmpw 4"
>>
>> does?
>
> It should do a jump to $nextip+offset, of course, just like a 32bit
> jump. The disassembly is correct, because with a zero offset, that's
> indeed '4'.
>
I thought it did jump to "(nextip + offset) & 0xffff" on AMD. Can you
verify if it is true?
--
H.J.
More information about the Binutils
mailing list