bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/26305] {disp32} doesn't work with (%ebp) nor 16-bit mode


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gas/26305] {disp32} doesn't work with (%ebp) nor 16-bit mode
Date: Tue, 28 Jul 2020 10:57:31 +0000

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

--- 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=1a02d6b0ff80048df106cbb776a550278f8c9d9c

commit 1a02d6b0ff80048df106cbb776a550278f8c9d9c
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jul 28 03:41:16 2020 -0700

    x86: Handle {disp32} for (%bp)/(%ebp)/(%rbp)

    Since (%bp)/(%ebp)/(%rbp) are encoded as 0(%bp)/0(%ebp)/0(%rbp), use
    disp32/disp16 on 0(%bp)/0(%ebp)/0(%rbp) for {disp32}.

    Note: Since there is no disp32 on 0(%bp), use disp16 instead.

            PR gas/26305
            * config/tc-i386.c (build_modrm_byte): Use disp32/disp16 on
            (%bp)/(%ebp)/(%rbp) for {disp32}.
            * doc/c-i386.texi: Update {disp32} documentation.
            * testsuite/gas/i386/pseudos.s: Add (%bp)/(%ebp) tests.
            * testsuite/gas/i386/x86-64-pseudos.s: Add (%ebp)/(%rbp) tests.
            * testsuite/gas/i386/pseudos.d: Updated.
            * testsuite/gas/i386/x86-64-pseudos.d: Likewise.

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