summaryrefslogtreecommitdiff
path: root/gas/config/tc-d10v.c
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>1999-10-21 13:49:38 +0000
committerDiego Novillo <dnovillo@google.com>1999-10-21 13:49:38 +0000
commit9f44b36947827684248231091578f0c639ca48fc (patch)
tree9b36ae86f50771000873f21cd4f3b6efe35719ad /gas/config/tc-d10v.c
parent2577c0142cd6961575ed525a5b630e974631abd1 (diff)
downloadbinutils-redhat-9f44b36947827684248231091578f0c639ca48fc.tar.gz
* tc_d10v.c (find_opcode): Allow ATSIGN to match expressions of the
form @abs16, @(abs16) and @(abs16 + imm).
Diffstat (limited to 'gas/config/tc-d10v.c')
-rw-r--r--gas/config/tc-d10v.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-d10v.c b/gas/config/tc-d10v.c
index 7161a6b976..4549a9568f 100644
--- a/gas/config/tc-d10v.c
+++ b/gas/config/tc-d10v.c
@@ -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;