diff options
Diffstat (limited to 'gas/config/tc-mn10300.c')
-rw-r--r-- | gas/config/tc-mn10300.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-mn10300.c b/gas/config/tc-mn10300.c index 37f6733..f180e94 100644 --- a/gas/config/tc-mn10300.c +++ b/gas/config/tc-mn10300.c @@ -2427,7 +2427,7 @@ mn10300_fix_adjustable (struct fix *fixp) if (! (S_GET_SEGMENT (fixp->fx_addsy)->flags & SEC_MERGE)) return false; - if (strncmp (S_GET_SEGMENT (fixp->fx_addsy)->name, ".debug", 6) == 0) + if (startswith (S_GET_SEGMENT (fixp->fx_addsy)->name, ".debug")) return false; return true; @@ -2447,7 +2447,7 @@ mn10300_end_of_match (char *cont, const char *what) { int len = strlen (what); - if (strncmp (cont, what, strlen (what)) == 0 + if (startswith (cont, what) && ! is_part_of_name (cont[len])) return cont + len; |