* config/tc-d10v.c (get_operands): Emit OPERAND_PLUS for
prefix `+'.
This commit is contained in:
parent
bf9043c5c7
commit
3543a2f195
2 changed files with 8 additions and 0 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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++;
|
||||
|
|
Loading…
Reference in a new issue