aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2013-04-08 11:07:38 +0000
committerJan Beulich <jbeulich@novell.com>2013-04-08 11:07:38 +0000
commit94dcf8bfcd6371c85215000dbaef2cac026faf9d (patch)
tree5e76143c62198be0d00cec164fea9ca42cc8a0c5 /gas/config
parent1472d06fd638286148a967c64a3db118887e196c (diff)
downloadgdb-94dcf8bfcd6371c85215000dbaef2cac026faf9d.zip
gdb-94dcf8bfcd6371c85215000dbaef2cac026faf9d.tar.gz
gdb-94dcf8bfcd6371c85215000dbaef2cac026faf9d.tar.bz2
gas/
2013-04-08 Jan Beulich <jbeulich@suse.com> * gas/config/tc-arm.c (do_neon_ldr_str): Correct disgnostics for PC-relative VSTR.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-arm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index f3b1ebf..8acfdd7 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -15692,10 +15692,10 @@ do_neon_ldr_str (void)
&& inst.operands[1].reg == REG_PC
&& (ARM_CPU_HAS_FEATURE (selected_cpu, arm_ext_v7) || thumb_mode))
{
- if (!thumb_mode && warn_on_deprecated)
- as_warn (_("Use of PC here is deprecated"));
- else
+ if (thumb_mode)
inst.error = _("Use of PC here is UNPREDICTABLE");
+ else if (warn_on_deprecated)
+ as_warn (_("Use of PC here is deprecated"));
}
if (inst.operands[0].issingle)