Revert "Do not issue error messages when parsing a PSTATE register".

This reverts commit 03e621be97.
This commit is contained in:
Yufeng Zhang 2013-11-19 18:11:03 +00:00
parent 2b59118e72
commit 9a73e520da
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,12 @@
2013-11-19 Yufeng Zhang <yufeng.zhang@arm.com>
Revert
2013-11-19 Nick Clifton <nickc@redhat.com>
* config/tc-aarch64.c (parse_sys_reg): Do not issue error messages
for deprecated system registers when parsing pstate fields.
2013-11-19 Nick Clifton <nickc@redhat.com>
* config/tc-aarch64.c (parse_sys_reg): Do not issue error messages

View File

@ -3314,10 +3314,7 @@ parse_sys_reg (char **str, struct hash_control *sys_regs, int imple_defined_p)
}
else
{
/* Only check system register names for deprecation. If we have
been given a PSTATE field name (impled_defined_p == 0) then allow
any value. */
if (imple_defined_p && aarch64_sys_reg_deprecated_p (o))
if (aarch64_sys_reg_deprecated_p (o))
as_warn (_("system register name '%s' is deprecated and may be "
"removed in a future release"), buf);
value = o->value;