[PATCH 2/7] x86: insert "no error" enumerator in i386_error enumeration
H.J. Lu
hjl.tools@gmail.com
Wed Aug 17 19:19:45 GMT 2022
On Tue, Aug 16, 2022 at 12:30 AM Jan Beulich <jbeulich@suse.com> wrote:
>
> The value of zero would better not indicate any error, but rather hit
> the abort() at the top of the consuming switch().
>
> --- a/gas/config/tc-i386.c
> +++ b/gas/config/tc-i386.c
> @@ -226,6 +226,7 @@ union i386_op
>
> enum i386_error
> {
> + no_error, /* Must be first. */
> operand_size_mismatch,
> operand_type_mismatch,
> register_type_mismatch,
>
OK.
Thanks.
--
H.J.
More information about the Binutils
mailing list