This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] x86-64: bndmk, bndldx, and bndstx don't allow RIP-relative addressing
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Jan Beulich <JBeulich at suse dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Wed, 12 Sep 2018 14:04:59 -0700
- Subject: Re: [PATCH] x86-64: bndmk, bndldx, and bndstx don't allow RIP-relative addressing
- References: <5B8F9D6D02000078001E5684@prv1-mh.provo.novell.com>
On Wed, Sep 5, 2018 at 2:10 AM, Jan Beulich <JBeulich@suse.com> wrote:
> gas/
> 2018-09-05 Jan Beulich <jbeulich@suse.com>
>
> * testsuite/gas/i386/x86-64-mpx.s: And BNDMK case with RIP-
> relative memory operand.
> * testsuite/gas/i386/x86-64-mpx.d: Adjust expectations.
>
> opcodes/
> 2018-09-05 Jan Beulich <jbeulich@suse.com>
>
> * i386-dis.c (Mv_bnd, v_bndmk_mode): New.
> (mod_table): Use Mv_bnd for bndldx, bndstx, and bndmk.
> (intel_operand_size): Handle v_bndmk_mode.
> (OP_E_memory): Likewise. Produce (bad) when also riprel.
>
OK.
Thanks.
--
H.J.