diff options
author | Jan Beulich <jbeulich@suse.com> | 2022-08-18 09:19:34 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2022-08-18 09:19:34 +0200 |
commit | b4d65f2d0b445fee54a2eefcec25336b4238ab82 (patch) | |
tree | 8c37db4e9e595006e3e33ef773fbb6b0e66d06eb /gas/config/tc-i386.c | |
parent | 2b57654c2795b250d8afccc53290015b5aa79203 (diff) | |
download | gdb-b4d65f2d0b445fee54a2eefcec25336b4238ab82.zip gdb-b4d65f2d0b445fee54a2eefcec25336b4238ab82.tar.gz gdb-b4d65f2d0b445fee54a2eefcec25336b4238ab82.tar.bz2 |
x86: insert "no error" enumerator in i386_error enumeration
The value of zero would better not indicate any error, but rather hit
the abort() at the top of the consuming switch().
Diffstat (limited to 'gas/config/tc-i386.c')
-rw-r--r-- | gas/config/tc-i386.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 8a893c4..3c0b73f 100644 --- 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, |