From 726a39460148f0b32e03ab7ff9c2955545a3a583 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 8 Oct 1998 17:19:55 +0000 Subject: [PATCH] Ooops - failed to check in first part of patch for PR 17438 --- gas/ChangeLog | 5 +++++ gas/config/tc-d30v.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 0a53dfbcbaa..8d0db524bb3 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +Thu Oct 8 10:18:33 1998 Nick Clifton + + * config/tc-d30v.c (find_format): Test for missing flag and + control registers. + Wed Oct 7 14:09:14 1998 Nick Clifton * config/tc-d30v.c (md_apply_fix3): Do not assume that bad diff --git a/gas/config/tc-d30v.c b/gas/config/tc-d30v.c index a64e1a5c5a1..73dcbe32a99 100644 --- a/gas/config/tc-d30v.c +++ b/gas/config/tc-d30v.c @@ -1584,7 +1584,7 @@ find_format (opcode, myops, fsize, cmp_hack) || ((flags & OPERAND_ACC) && !(num & OPERAND_ACC)) || (!(flags & OPERAND_ACC) && (num & OPERAND_ACC)) || ((flags & OPERAND_FLAG) && !(num & OPERAND_FLAG)) - || (!(flags & OPERAND_FLAG) && (num & OPERAND_FLAG)) + || (!(flags & (OPERAND_FLAG | OPERAND_CONTROL)) && (num & OPERAND_FLAG)) || ((flags & OPERAND_CONTROL) && !(num & (OPERAND_CONTROL | OPERAND_FLAG)))) { -- 2.30.2