diff options
author | Jan Beulich <jbeulich@suse.com> | 2019-12-04 10:44:27 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2019-12-04 10:44:27 +0100 |
commit | d488367a421f4c4fd47d37ae0013318024b1019b (patch) | |
tree | 2e7cf0601770ff42699ff8d2fa16afd9f20e217d /gas/ChangeLog | |
parent | 319ff62c8ab28c846365aef65c137735f8af88cb (diff) | |
download | fsf-binutils-gdb-d488367a421f4c4fd47d37ae0013318024b1019b.zip fsf-binutils-gdb-d488367a421f4c4fd47d37ae0013318024b1019b.tar.gz fsf-binutils-gdb-d488367a421f4c4fd47d37ae0013318024b1019b.tar.bz2 |
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.)
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index dba3faa..d309806 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,13 @@ 2019-12-04 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. + +2019-12-04 Jan Beulich <jbeulich@suse.com> + * config/tc-i386.c (output_insn): Don't consider Cpu* settings when setting GNU_PROPERTY_X86_FEATURE_2_MMX. |