aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1998-10-08 17:19:55 +0000
committerNick Clifton <nickc@redhat.com>1998-10-08 17:19:55 +0000
commit726a39460148f0b32e03ab7ff9c2955545a3a583 (patch)
tree9032a64439163c500eb4cd61ecfc202a465692a7 /gas
parent70423641d9f43e126b1cb47d8cfc764fcce69740 (diff)
downloadgdb-726a39460148f0b32e03ab7ff9c2955545a3a583.zip
gdb-726a39460148f0b32e03ab7ff9c2955545a3a583.tar.gz
gdb-726a39460148f0b32e03ab7ff9c2955545a3a583.tar.bz2
Ooops - failed to check in first part of patch for PR 17438
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-d30v.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 0a53dfb..8d0db52 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+Thu Oct 8 10:18:33 1998 Nick Clifton <nickc@cygnus.com>
+
+ * config/tc-d30v.c (find_format): Test for missing flag and
+ control registers.
+
Wed Oct 7 14:09:14 1998 Nick Clifton <nickc@cygnus.com>
* 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 a64e1a5..73dcbe3 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))))
{