aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-11-19 17:40:31 +0000
committerNick Clifton <nickc@redhat.com>2013-11-19 17:40:31 +0000
commit03e621be975dacc9cec9f5782698bdb098f6a49c (patch)
treeeadb2e114a713dfb9236f4737b20f24fa68745db /gas/config
parent31b4ab9e37d4592c3faa883008d0fc06f8cfa6fc (diff)
downloadgdb-03e621be975dacc9cec9f5782698bdb098f6a49c.zip
gdb-03e621be975dacc9cec9f5782698bdb098f6a49c.tar.gz
gdb-03e621be975dacc9cec9f5782698bdb098f6a49c.tar.bz2
* config/tc-aarch64.c (parse_sys_reg): Do not issue error messages
for deprecated system registers when parsing pstate fields.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-aarch64.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index fb0ae33..7d50381 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -3314,7 +3314,10 @@ parse_sys_reg (char **str, struct hash_control *sys_regs, int imple_defined_p)
}
else
{
- if (aarch64_sys_reg_deprecated_p (o))
+ /* 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))
as_warn (_("system register name '%s' is deprecated and may be "
"removed in a future release"), buf);
value = o->value;