aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-arm.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2005-09-02 12:50:44 +0000
committerPaul Brook <paul@codesourcery.com>2005-09-02 12:50:44 +0000
commitc4188bc96a6dacd4ba8d2e72ad2571cf0389eb5c (patch)
tree4c6be87f337d156e71aa29fbd25d4f7d72b0443f /gas/config/tc-arm.c
parentde31729c99131746c6363e595aafd6205be23a44 (diff)
downloadgdb-c4188bc96a6dacd4ba8d2e72ad2571cf0389eb5c.zip
gdb-c4188bc96a6dacd4ba8d2e72ad2571cf0389eb5c.tar.gz
gdb-c4188bc96a6dacd4ba8d2e72ad2571cf0389eb5c.tar.bz2
2005-09-02 Paul Brook <paul@codesourcery.com>
gas/ * config/tc-arm.c (opcode_lookup): Look for infix opcode when incorrect suffix matches. gas/testsuite/ * gas/arm/fpa-mem.d: Test "stfpls". * gas/arm/fpa-mem.s: Ditto.
Diffstat (limited to 'gas/config/tc-arm.c')
-rw-r--r--gas/config/tc-arm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index fd95edb..f52716d 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -7676,8 +7676,10 @@ opcode_lookup (char **str)
{
case OT_cinfix3:
case OT_odd_infix_unc:
+ /* Some mnemonics are ambiguous between infix and suffix
+ conditions. Disambiguate based on assembly syntax. */
if (!unified_syntax)
- return 0;
+ break;
/* else fall through */
case OT_csuffix: