diff options
Diffstat (limited to 'gas/config/tc-d30v.c')
-rw-r--r-- | gas/config/tc-d30v.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-d30v.c b/gas/config/tc-d30v.c index 23b0b2a5b..1fb0786 100644 --- a/gas/config/tc-d30v.c +++ b/gas/config/tc-d30v.c @@ -1339,7 +1339,7 @@ do_assemble (char *str, opcode->ecc = ECC_AL; /* CMP and CMPU change their name based on condition codes. */ - if (!strncmp (name, "cmp", 3)) + if (startswith (name, "cmp")) { int p, i; char **d30v_str = (char **) d30v_cc_names; |