PR gas/15273
* config/tc-arm.c (do_co_reg): Do not call check_obsolete with a NULL message, instead just check ARM_CPU_IS_ANY directly.
This commit is contained in:
parent
ba724cfc0c
commit
b10bf8c587
|
@ -1,3 +1,9 @@
|
||||||
|
2013-03-14 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
PR gas/15273
|
||||||
|
* config/tc-arm.c (do_co_reg): Do not call check_obsolete with a
|
||||||
|
NULL message, instead just check ARM_CPU_IS_ANY directly.
|
||||||
|
|
||||||
2013-03-14 Nick Clifton <nickc@redhat.com>
|
2013-03-14 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
PR gas/15212
|
PR gas/15212
|
||||||
|
|
|
@ -7828,7 +7828,7 @@ do_co_reg (void)
|
||||||
&& inst.operands[4].reg == r->crm
|
&& inst.operands[4].reg == r->crm
|
||||||
&& inst.operands[5].imm == r->opc2)
|
&& inst.operands[5].imm == r->opc2)
|
||||||
{
|
{
|
||||||
if (!check_obsolete (&r->obsoleted, r->obs_msg)
|
if (! ARM_CPU_IS_ANY (cpu_variant)
|
||||||
&& warn_on_deprecated
|
&& warn_on_deprecated
|
||||||
&& ARM_CPU_HAS_FEATURE (cpu_variant, r->deprecated))
|
&& ARM_CPU_HAS_FEATURE (cpu_variant, r->deprecated))
|
||||||
as_warn ("%s", r->dep_msg);
|
as_warn ("%s", r->dep_msg);
|
||||||
|
|
Loading…
Reference in New Issue