aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorJames Greenhalgh <james.greenhalgh@arm.com>2015-07-16 14:43:00 +0100
committerJiong Wang <jiong.wang@arm.com>2015-07-16 14:43:00 +0100
commit84b52b66511b99c8cb5cc2074d3dbabf4ffcf826 (patch)
treea7440d4a38a1cb33767e4ac9cdf2e96482b93209 /gas/config
parent4bcddaceb01a5ece549b2d807166b5e050801f5a (diff)
downloadgdb-84b52b66511b99c8cb5cc2074d3dbabf4ffcf826.zip
gdb-84b52b66511b99c8cb5cc2074d3dbabf4ffcf826.tar.gz
gdb-84b52b66511b99c8cb5cc2074d3dbabf4ffcf826.tar.bz2
[ARM] Make human parsing of "processor does not support instruction in mode" error messages easier
2015-07-16 James Greenhalgh <james.greenhalgh@arm.com> gas/ * config/tc-arm.c (md_assemble): Rephrase the "selected processor does not support ARM mode" error messages. gas/testsuite/ * gas/arm/arch7em-bad.l: Update expected errors. * gas/arm/arch7m-bad.l: Likewise. * gas/arm/arm-idiv-bad.l: Likewise. * gas/arm/arm7-bad.l: Likewise. * gas/arm/armv1-bad.l: Likewise. * gas/arm/thumb-w-bad.l: Likewise.
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 1793965..c7eaa9c 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -17873,7 +17873,7 @@ md_assemble (char *str)
|| (thumb_mode == 1
&& !ARM_CPU_HAS_FEATURE (variant, *opcode->tvariant)))
{
- as_bad (_("selected processor does not support Thumb mode `%s'"), str);
+ as_bad (_("selected processor does not support `%s' in Thumb mode"), str);
return;
}
if (inst.cond != COND_ALWAYS && !unified_syntax
@@ -17898,7 +17898,7 @@ md_assemble (char *str)
inst.size_req = 2;
else if (inst.size_req == 4)
{
- as_bad (_("selected processor does not support Thumb-2 mode `%s'"), str);
+ as_bad (_("selected processor does not support `%s' in Thumb-2 mode"), str);
return;
}
}
@@ -17964,7 +17964,7 @@ md_assemble (char *str)
&& !(opcode->avariant &&
ARM_CPU_HAS_FEATURE (cpu_variant, *opcode->avariant)))
{
- as_bad (_("selected processor does not support ARM mode `%s'"), str);
+ as_bad (_("selected processor does not support `%s' in ARM mode"), str);
return;
}
if (inst.size_req)