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: Tue, 14 Jul 2020 16:58:22 +0000

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

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

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

commit 8e58ef803cf752cbde547a5064540f05470ea714
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jul 14 09:57:52 2020 -0700

    x86-64: Zero-extend lower 32 bits displacement to 64 bits

    Since the addr32 (0x67) prefix zero-extends the lower 32 bits address to
    64 bits, change disassembler to zero-extend the lower 32 bits displacement
    to 64 bits when there is no base nor index registers.

    gas/

            PR gas/26237
            * testsuite/gas/i386/addr32.s: Add tests for 32-bit wrapped around
            address.
            * testsuite/gas/i386/x86-64-addr32.s: Likewise.
            * testsuite/gas/i386/addr32.d: Updated.
            * testsuite/gas/i386/x86-64-addr32-intel.d: Likewise.
            * testsuite/gas/i386/x86-64-addr32.d: Likewise.
            * testsuite/gas/i386/ilp32/x86-64-addr32-intel.d: Likewise.
            * testsuite/gas/i386/ilp32/x86-64-addr32.d: Likewise.

    opcodes/

            PR gas/26237
            * i386-dis.c (OP_E_memory): Without base nor index registers,
            32-bit displacement to 64 bits.

-- 
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]