bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/26237] addr32 is mishandled


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gas/26237] addr32 is mishandled
Date: Wed, 15 Jul 2020 14:20:29 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=26237

--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_35-branch branch has been updated by H.J. Lu
<hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ae310391c7d68c50778b3dad73678ee8f972f1f1

commit ae310391c7d68c50778b3dad73678ee8f972f1f1
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jul 15 06:49:45 2020 -0700

    x86: Don't display eiz with no scale

    Change

    67 48 8b 1c 25 ef cd ab 89      mov    0x89abcdef(,%eiz,1),%rbx

    to

    67 48 8b 1c 25 ef cd ab 89      mov    0x89abcdef,%rbx

    in AT&T syntax and

    67 48 8b 1c 25 ef cd ab 89      mov    rbx,QWORD PTR [eiz*1+0x89abcdef]

    to

    67 48 8b 1c 25 ef cd ab 89      mov    rbx,QWORD PTR ds:0x89abcdef

    in Intel syntax.

    gas/

            PR gas/26237
            * testsuite/gas/i386/evex-no-scale-64.d: Updated.
            * testsuite/gas/i386/addr32.d: Likewise.
            * testsuite/gas/i386/x86-64-addr32-intel.d: Likewise.
            * testsuite/gas/i386/x86-64-addr32.d: Likewise.

    opcodes/

            PR gas/26237
            * i386-dis.c (OP_E_memory): Don't display eiz with no scale
            without base nor index registers.

    (cherry picked from commit 04c662e2b66bedd050f97adec19afe0fcfce9ea7)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]