diff options
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-i386.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 0418e6f..2e7b73c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,10 @@ 2010-04-21 H.J. Lu <hongjiu.lu@intel.com> + * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use + i386_is_register. + +2010-04-21 H.J. Lu <hongjiu.lu@intel.com> + * config/tc-i386.c (i386_is_register): Remove is_intel_syntax. (x86_cons): Updated. (parse_register): Likewise. diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 11abad1..5699581 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -8872,7 +8872,7 @@ tc_x86_parse_to_dw2regnum (expressionS *exp) register_chars['.'] = saved_register_dot; allow_naked_reg = saved_naked_reg; - if (i386_is_register (exp) && exp->X_add_number >= 0) + if (exp->X_op == O_register && exp->X_add_number >= 0) { if ((addressT) exp->X_add_number < i386_regtab_size) { |