[PATCH] x86: drop stale Mem enumerator

H.J. Lu hjl.tools@gmail.com
Tue Jul 16 16:54:00 GMT 2019


On Fri, Jul 5, 2019 at 12:50 AM Jan Beulich <JBeulich@suse.com> wrote:
>
> This was supposed to also be removed by c48dadc9a8 ('x86: drop "mem"
> operand type attribute').  It's odd enough that this hasn't caused
> build issues, considering the careful use of OTunused (apparently to
> avoid "missing initializer" warnings).
>
> To avoid such happening again introduce compile time consistency
> checks.
>
> opcodes/
> 2019-07-05  Jan Beulich  <jbeulich@suse.com>
>
>         * i386-gen.c (static_assert): Define.
>         (main): Use it.
>         * i386-opc.h (Opcode_Modifier_Max): Rename to ...
>         (Opcode_Modifier_Num): ... this.
>         (Mem): Delete.
>

OK.

Thanks.


-- 
H.J.



More information about the Binutils mailing list