[PATCH 2/7] x86: insert "no error" enumerator in i386_error enumeration

Jan Beulich jbeulich@suse.com
Tue Aug 16 07:30:46 GMT 2022


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,



More information about the Binutils mailing list