2007-03-24 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (do_t_ldmstm): Error on Thumb-2 addressing modes.
This commit is contained in:
parent
34711ca3dd
commit
1198ca51f0
|
@ -1,3 +1,7 @@
|
|||
2007-03-24 Paul Brook <paul@codesourcery.com>
|
||||
|
||||
* config/tc-arm.c (do_t_ldmstm): Error on Thumb-2 addressing modes.
|
||||
|
||||
2007-03-24 Paul Brook <paul@codesourcery.com>
|
||||
Mark Shinwell <shinwell@codesourcery.com>
|
||||
|
||||
|
|
|
@ -9125,6 +9125,9 @@ do_t_ldmstm (void)
|
|||
{
|
||||
constraint (inst.operands[0].reg > 7
|
||||
|| (inst.operands[1].imm & ~0xff), BAD_HIREG);
|
||||
constraint (inst.instruction != T_MNEM_ldmia
|
||||
&& inst.instruction != T_MNEM_stmia,
|
||||
_("Thumb-2 instruction only valid in unified syntax"));
|
||||
if (inst.instruction == T_MNEM_stmia)
|
||||
{
|
||||
if (!inst.operands[0].writeback)
|
||||
|
|
Loading…
Reference in New Issue