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

--- Comment #6 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 <h...@sourceware.org>:

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

commit 07f5af7d3c635234284e7a0f7dd7a410b1628b8b
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Fri Jun 3 15:55:29 2016 -0700

    Handle indirect branches for AMD64 and Intel64

    AMD64 spec and Intel64 spec differ in indirect branches in 64-bit mode.
    AMD64 supports indirect branches with 16-bit address via the data size
    prefix while the data size prefix is ignored by Intel64.

    gas/

        PR binutis/18386
        * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
        * testsuite/gas/i386/x86-64-branch.d: Updated.
        * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
        * testsuite/gas/i386/x86-64-branch-4.l: New file.
        * testsuite/gas/i386/x86-64-branch-4.s: Likewise.

    opcodes/

        PR binutis/18386
        * i386-dis.c (indirEv): Replace stack_v_mode with indir_v_mode.
        (indir_v_mode): New.
        Add comments for '&'.
        (reg_table): Replace "{T|}" with "{&|}" on call and jmp.
        (putop): Handle '&'.
        (intel_operand_size): Handle indir_v_mode.
        (OP_E_register): Likewise.
        * i386-opc.tbl: Mark 64-bit indirect call/jmp as AMD64.  Add
        64-bit indirect call/jmp for AMD64.
        * i386-tbl.h: Regenerated

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to