From e7286c5668bcc5de0bfe523ac7b7cddabeffebe5 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 16 Nov 2015 14:26:07 +0000 Subject: [PATCH] Fix the disassembly of conditional instructions will illegal condition selections. * rx-dis.c (condition_names): Replace always and never with invalid, since the always/never conditions can never be legal. --- opcodes/ChangeLog | 5 +++++ opcodes/rx-dis.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index fc472db..edec363 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2015-11-16 Nick Clifton + + * 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 * configure: Regenerate. diff --git a/opcodes/rx-dis.c b/opcodes/rx-dis.c index 6d4c41a..01d0385 100644 --- a/opcodes/rx-dis.c +++ b/opcodes/rx-dis.c @@ -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", "", "" }; static const char * flag_names[] = -- 2.7.4