x86-64/Intel: fix CALL/JMP with dword operand
authorJan Beulich <jbeulich@suse.com>
Wed, 4 Dec 2019 09:44:27 +0000 (10:44 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 4 Dec 2019 09:44:27 +0000 (10:44 +0100)
commitd488367a421f4c4fd47d37ae0013318024b1019b
tree2e7cf0601770ff42699ff8d2fa16afd9f20e217d
parent319ff62c8ab28c846365aef65c137735f8af88cb
x86-64/Intel: fix CALL/JMP with dword operand

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/ChangeLog
gas/config/tc-i386-intel.c
gas/testsuite/gas/i386/x86-64-jump.d
gas/testsuite/gas/i386/x86-64-jump.s
This page took 0.025308 seconds and 4 git commands to generate.