From: Alexandre Oliva Date: Thu, 29 Nov 2001 18:23:11 +0000 (+0000) Subject: * config/tc-d10v.c (get_operands): Emit OPERAND_PLUS for X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3543a2f1954727e6776c72b7ec46fb689df10eca;p=binutils-gdb.git * config/tc-d10v.c (get_operands): Emit OPERAND_PLUS for prefix `+'. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 0d2ddd41bc9..ff17c608e2c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,8 @@ 2001-11-29 Alexandre Oliva + * 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 284b2af984d..5074cddd0ac 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++;