aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-d10v.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2001-11-29 18:23:11 +0000
committerAlexandre Oliva <aoliva@redhat.com>2001-11-29 18:23:11 +0000
commit3543a2f1954727e6776c72b7ec46fb689df10eca (patch)
tree34d627099bc3796ed3f0ed82f71091a723c45de7 /gas/config/tc-d10v.c
parentbf9043c5c7397d8fc2ac1b4dd7e72c5b836a3cfa (diff)
downloadgdb-3543a2f1954727e6776c72b7ec46fb689df10eca.zip
gdb-3543a2f1954727e6776c72b7ec46fb689df10eca.tar.gz
gdb-3543a2f1954727e6776c72b7ec46fb689df10eca.tar.bz2
* config/tc-d10v.c (get_operands): Emit OPERAND_PLUS for
prefix `+'.
Diffstat (limited to 'gas/config/tc-d10v.c')
-rw-r--r--gas/config/tc-d10v.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/config/tc-d10v.c b/gas/config/tc-d10v.c
index 284b2af..5074cdd 100644
--- a/gas/config/tc-d10v.c
+++ b/gas/config/tc-d10v.c
@@ -457,6 +457,11 @@ get_operands (exp)
else
{
exp[numops].X_add_number = OPERAND_ATSIGN;
+ if (*p == '+')
+ {
+ exp[++numops].X_add_number = OPERAND_PLUS;
+ ++p;
+ }
post = postfix (p);
}
numops++;