* tc_d10v.c (find_opcode): Allow ATSIGN to match expressions of the
authorDiego Novillo <dnovillo@google.com>
Thu, 21 Oct 1999 13:49:38 +0000 (13:49 +0000)
committerDiego Novillo <dnovillo@google.com>
Thu, 21 Oct 1999 13:49:38 +0000 (13:49 +0000)
form @abs16, @(abs16) and @(abs16 + imm).

gas/ChangeLog
gas/config/tc-d10v.c

index 4e43ccc..e706ef0 100644 (file)
@@ -1,3 +1,8 @@
+Mon Oct 18 18:11:10 MDT 1999   Diego Novillo <dnovillo@cygnus.com>
+
+       * tc_d10v.c (find_opcode): Allow ATSIGN to match expressions of the
+       form @abs16, @(abs16) and @(abs16 + imm).
+
 1999-10-21  Gavin Romig-Koch  <gavin@cygnus.com>
 
        * config/tc-mips.c (ISA_HAS_COPROC_DELAYS) : New.
index 7161a6b..4549a95 100644 (file)
@@ -1314,7 +1314,7 @@ find_opcode (opcode, myops)
                  ((flags & OPERAND_PLUS)    && ((X_op != O_absent) || (num != OPERAND_PLUS))) ||
                  ((flags & OPERAND_ATMINUS) && ((X_op != O_absent) || (num != OPERAND_ATMINUS))) ||
                  ((flags & OPERAND_ATPAR)   && ((X_op != O_absent) || (num != OPERAND_ATPAR))) ||
-                 ((flags & OPERAND_ATSIGN)  && ((X_op != O_absent) || (num != OPERAND_ATSIGN))))
+                 ((flags & OPERAND_ATSIGN)  && ((X_op != O_absent) || ((num != OPERAND_ATSIGN) && (num != OPERAND_ATPAR)))))
                {
                  match = 0;
                  break;