Fix the disassembly of conditional instructions will illegal condition selections.
authorNick Clifton <nickc@redhat.com>
Mon, 16 Nov 2015 14:26:07 +0000 (14:26 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 17 Nov 2015 11:37:14 +0000 (11:37 +0000)
* rx-dis.c (condition_names): Replace always and never with
invalid, since the always/never conditions can never be legal.

opcodes/ChangeLog
opcodes/rx-dis.c

index fc472db..edec363 100644 (file)
@@ -1,3 +1,8 @@
+2015-11-16  Nick Clifton  <nickc@redhat.com>
+
+       * rx-dis.c (condition_names): Replace always and never with
+       invalid, since the always/never conditions can never be legal.
+
 2015-11-13  Tristan Gingold  <gingold@adacore.com>
 
        * configure: Regenerate.
index 6d4c41a..01d0385 100644 (file)
@@ -74,7 +74,7 @@ static char const * condition_names[] =
 {
   /* condition codes */
   "eq", "ne", "c", "nc", "gtu", "leu", "pz", "n",
-  "ge", "lt", "gt", "le", "o", "no", "always", "never"
+  "ge", "lt", "gt", "le", "o", "no", "<invalid>", "<invalid>"
 };
 
 static const char * flag_names[] =