mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 23:39:35 +08:00
* config/bfin-parse.y (asm_1): Slightly improve error messages
for "reg += const;".
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2007-09-18 Bernd Schmidt <bernd.schmidt@analog.com>
|
||||||
|
|
||||||
|
* config/bfin-parse.y (asm_1): Slightly improve error messages
|
||||||
|
for "reg += const;".
|
||||||
|
|
||||||
2007-09-18 Alan Modra <amodra@bigpond.net.au>
|
2007-09-18 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
PR gas/5026
|
PR gas/5026
|
||||||
|
@ -1432,6 +1432,8 @@ asm_1:
|
|||||||
notethat ("COMPI2opD: dregs += imm7\n");
|
notethat ("COMPI2opD: dregs += imm7\n");
|
||||||
$$ = COMPI2OPD (&$1, imm7 ($3), 1);
|
$$ = COMPI2OPD (&$1, imm7 ($3), 1);
|
||||||
}
|
}
|
||||||
|
else if ((IS_DREG ($1) || IS_PREG ($1)) && IS_CONST ($3))
|
||||||
|
return yyerror ("Immediate value out of range");
|
||||||
else
|
else
|
||||||
return yyerror ("Register mismatch");
|
return yyerror ("Register mismatch");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user