aboutsummaryrefslogtreecommitdiff
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
commitd9fd98525417b385fc58680dc0ea32fb2348d79d (patch)
tree1169b022d7f2e359958379c00440c4cb06453249 /gas/config/tc-d10v.c
parent9ce8a5dd8e00900705e471be1b7a6ea93ecf16b2 (diff)
downloadgdb-d9fd98525417b385fc58680dc0ea32fb2348d79d.zip
gdb-d9fd98525417b385fc58680dc0ea32fb2348d79d.tar.gz
gdb-d9fd98525417b385fc58680dc0ea32fb2348d79d.tar.bz2
* 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 7161a6b..4549a95 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;