diff options
author | Yufeng Zhang <yufeng.zhang@arm.com> | 2013-11-19 18:11:03 +0000 |
---|---|---|
committer | Yufeng Zhang <yufeng.zhang@arm.com> | 2013-11-20 11:22:53 +0000 |
commit | 9a73e520da7dbde07184113bc07f144fd1e47294 (patch) | |
tree | 297826a259960336e0ad6f4b6f485a6aa0637499 /gas | |
parent | 2b59118e727300b1c4e306e08ac53ee5693ab45b (diff) | |
download | gdb-9a73e520da7dbde07184113bc07f144fd1e47294.zip gdb-9a73e520da7dbde07184113bc07f144fd1e47294.tar.gz gdb-9a73e520da7dbde07184113bc07f144fd1e47294.tar.bz2 |
Revert "Do not issue error messages when parsing a PSTATE register".
This reverts commit 03e621be975dacc9cec9f5782698bdb098f6a49c.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 9 | ||||
-rw-r--r-- | gas/config/tc-aarch64.c | 5 |
2 files changed, 10 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index e0535a0..b293b46 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index 7d50381..fb0ae33 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; |