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 fc472dbc66428813890e444b1b54a9f2cef406fd..edec363bc7456bdabfca03b630ac8f7d724176ee 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 6d4c41a845b640d7bd655599696fdb4a90aafd67..01d0385a96e3ca640c31218ebd0e92c1a617a36b 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[] =