This is the mail archive of the binutils@sourceware.org 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] x86-64/Intel: fix CALL/JMP with dword operand


On Wed, Nov 27, 2019 at 2:35 AM Jan Beulich <jbeulich@suse.com> wrote:
>
> While dc2be329b950 ("i386: Only check suffix in instruction mnemonic")
> has made the assembler accept these in the first place (they were wrongly
> rejected before), the generated code was still wrong in that it lacked
> an operand size override. (In 64-bit code, other than in 16- and 32-bit
> ones, CALL and JMP with memory operands are all entirely unambiguous: No
> operand size can have two meanings.)
>
> gas/
> 2019-11-XX  Jan Beulich  <jbeulich@suse.com>
>
>         * config/tc-i386-intel.c (i386_intel_operand): Also handle DWORD
>         with 64-bit mode branches.
>         * testsuite/gas/i386/x86-64-jump.s: Extend Intel syntax branch
>         operand coverage.
>         * testsuite/gas/i386/x86-64-jump.d: Adjust expectations.
>

OK.

Thanks.

-- 
H.J.


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