aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog3
-rw-r--r--gas/config/tc-d10v.c5
2 files changed, 8 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 0d2ddd4..ff17c60 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,8 @@
2001-11-29 Alexandre Oliva <aoliva@redhat.com>
+ * config/tc-d10v.c (get_operands): Emit OPERAND_PLUS for
+ prefix `+'.
+
* config/tc-d10v.c (find_opcode): Reject non-SP operand if
flags requires SP.
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++;