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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.28

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to nholcomb from comment #0)
> Libopcodes produces invalid 32-bit address for a 64-bit MPX instruction.
> 
> Output: addr32 bndstx %bnd0, -0x76a5963e(%eip) # 0xffffffff895a69cb
> Bytes: 67 41 0f 1b 05 c2 69 5a 89
> 
> This instruction should be shown as invalid because 64-bit MPX instructions
> cannot act on 32-bit addresses.

Since the addr32 prefix is ignored in 64-bit mode, I checked in a patch to
display

67 41 0f 1b 05 c2 69 5a 89      addr32 bndstx %bnd0,-0x76a5963e(%rip)

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