diff options
Diffstat (limited to 'gas/config/tc-epiphany.c')
-rw-r--r-- | gas/config/tc-epiphany.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-epiphany.c b/gas/config/tc-epiphany.c index d253bc2..eb7a394 100644 --- a/gas/config/tc-epiphany.c +++ b/gas/config/tc-epiphany.c @@ -529,13 +529,13 @@ md_assemble (char *str) int regmask=0, push=0, pop=0; /* Special-case push/pop instruction macros. */ - if (0 == strncmp (str, "push {", 6)) + if (startswith (str, "push {")) { char * s = str + 6; push = 1; pperr = parse_reglist (s, ®mask); } - else if (0 == strncmp (str, "pop {", 5)) + else if (startswith (str, "pop {")) { char * s = str + 5; pop = 1; |