bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/18386] callw with 0x66 prefix incorrectly disassembled in


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/18386] callw with 0x66 prefix incorrectly disassembled in 64-bit mode
Date: Sat, 09 May 2015 13:52:36 +0000

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

--- 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 <address@hidden>:

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

commit a72d2af2c76f82cc8a198919f73585e11d0a4c60
Author: H.J. Lu <address@hidden>
Date:   Fri May 8 17:13:30 2015 -0700

    Ignore 0x66 prefix for call/jmp/jcc in 64-bit mode

    The operand size prefix (0x66) is ignored for 32-bit PC-relative call,
    jmp and jcc in 64-bit mode.

    gas/testsuite/

        PR binutis/18386
        * gas/i386/i386.exp: Run x86-64-jump.
        * gas/i386/x86-64-branch.d: Updated.
        * gas/i386/ilp32/x86-64-branch.d: Likewise.
        * gas/i386/x86-64-branch.s: Add tests for the operand size prefix
        with call, jmp and jb.
        * gas/i386/x86-64-jump.d: New file.
        * gas/i386/x86-64-jump.s: Likewise.

    ld/testsuite/

        PR binutis/18386
        * ld-x86-64/tlsgdesc.dd: Updated.
        * ld-x86-64/tlspic.dd: Likewise.

    opcodes/

        PR binutis/18386
        * i386-dis.c (X86_64_E8): New.
        (X86_64_E9): Likewise.
        Update comments on 'T', 'U', 'V'.  Add comments for '^'.
        (dis386): Replace callT/jmpT with X86_64_E8/X86_64_E9.
        (x86_64_table): Add X86_64_E8 and X86_64_E9.
        (mod_table): Replace {T|} with ^ on Jcall/Jmp.
        (putop): Handle '^'.
        (OP_J): Ignore the operand size prefix in 64-bit.  Don't check
        REX_W.

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