diff options
author | Paul Brook <paul@codesourcery.com> | 2007-03-24 16:09:16 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2007-03-24 16:09:16 +0000 |
commit | 1198ca51f09aca00338bea2f30cc68db3a1d3f7d (patch) | |
tree | d919ca1337530213d8bd583deb6f05accf0996cb /gas/config | |
parent | 34711ca3dd782370e5eeab35b78b2500cf4122f0 (diff) | |
download | gdb-1198ca51f09aca00338bea2f30cc68db3a1d3f7d.zip gdb-1198ca51f09aca00338bea2f30cc68db3a1d3f7d.tar.gz gdb-1198ca51f09aca00338bea2f30cc68db3a1d3f7d.tar.bz2 |
2007-03-24 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (do_t_ldmstm): Error on Thumb-2 addressing modes.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-arm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index cb2bcda..f85ea36 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -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) |