From: Yufeng Zhang Date: Tue, 19 Nov 2013 18:11:03 +0000 (+0000) Subject: Revert "Do not issue error messages when parsing a PSTATE register". X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a73e520da7dbde07184113bc07f144fd1e47294;p=binutils-gdb.git Revert "Do not issue error messages when parsing a PSTATE register". This reverts commit 03e621be975dacc9cec9f5782698bdb098f6a49c. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index e0535a0a4e1..b293b4673a1 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,12 @@ +2013-11-19 Yufeng Zhang + + Revert + + 2013-11-19 Nick Clifton + + * 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 * config/tc-aarch64.c (parse_sys_reg): Do not issue error messages diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index 7d50381ec1b..fb0ae33326d 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -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;