mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 06:17:47 +08:00
* config/tc-ppc.c (md_assemble): If -mregnames, when parsing
PPC_OPERAND_CR always parse as expression to allow register name followed by an expression.
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
2007-11-12 Tristan Gingold <gingold@adacore.com>
|
||||
|
||||
* config/tc-ppc.c (md_assemble): If -mregnames, when parsing
|
||||
PPC_OPERAND_CR always parse as expression to allow register name
|
||||
followed by an expression.
|
||||
|
||||
2007-11-09 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* config/tc-i386.c (match_template): Re-order suffix check.
|
||||
|
@ -2454,7 +2454,8 @@ md_assemble (char *str)
|
||||
else
|
||||
#endif /* TE_PE */
|
||||
{
|
||||
if (! register_name (&ex))
|
||||
if ((reg_names_p && (operand->flags & PPC_OPERAND_CR) != 0)
|
||||
|| !register_name (&ex))
|
||||
{
|
||||
char save_lex = lex_type['%'];
|
||||
|
||||
|
Reference in New Issue
Block a user