mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 14:39:09 +08:00
2001-02-12 Philip Blundell <pb@futuretv.com>
* config/tc-arm.c (do_ldst): Improve warnings for unpredictable ldrt/strt instructions.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2001-02-12 Philip Blundell <pb@futuretv.com>
|
||||||
|
|
||||||
|
* config/tc-arm.c (do_ldst): Improve warnings for unpredictable
|
||||||
|
ldrt/strt instructions.
|
||||||
|
|
||||||
2001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
|
2001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
|
||||||
|
|
||||||
* config/tc-mips.c (macro): For M_LA_AB emit a
|
* config/tc-mips.c (macro): For M_LA_AB emit a
|
||||||
|
@ -4323,9 +4323,16 @@ do_ldst (str, flags)
|
|||||||
if (ldst_extend (&str, halfword) == FAIL)
|
if (ldst_extend (&str, halfword) == FAIL)
|
||||||
return;
|
return;
|
||||||
if (conflict_reg)
|
if (conflict_reg)
|
||||||
as_warn (_("%s register same as write-back base"),
|
{
|
||||||
((inst.instruction & LOAD_BIT)
|
if (flags & TRANS_BIT)
|
||||||
? _("destination") : _("source")));
|
as_warn (_("Rn and Rd must be different in %s"),
|
||||||
|
((inst.instruction & LOAD_BIT)
|
||||||
|
? "LDRT" : "STRT"));
|
||||||
|
else
|
||||||
|
as_warn (_("%s register same as write-back base"),
|
||||||
|
((inst.instruction & LOAD_BIT)
|
||||||
|
? _("destination") : _("source")));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -4346,8 +4353,15 @@ do_ldst (str, flags)
|
|||||||
}
|
}
|
||||||
|
|
||||||
flags |= INDEX_UP;
|
flags |= INDEX_UP;
|
||||||
if (! (flags & TRANS_BIT))
|
if (flags & TRANS_BIT)
|
||||||
pre_inc = 1;
|
{
|
||||||
|
if (conflict_reg)
|
||||||
|
as_warn (_("Rn and Rd must be different in %s"),
|
||||||
|
((inst.instruction & LOAD_BIT)
|
||||||
|
? "LDRT" : "STRT"));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
pre_inc = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user