diff options
Diffstat (limited to 'gas/config/tc-vax.c')
-rw-r--r-- | gas/config/tc-vax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-vax.c b/gas/config/tc-vax.c index 70ea305..f439f1b 100644 --- a/gas/config/tc-vax.c +++ b/gas/config/tc-vax.c @@ -3279,7 +3279,7 @@ vax_cons (expressionS *exp, int size) save = input_line_pointer; if (input_line_pointer[0] == '%') { - if (strncmp (input_line_pointer + 1, "pcrel", 5) == 0) + if (startswith (input_line_pointer + 1, "pcrel")) { input_line_pointer += 6; vax_cons_special_reloc = "pcrel"; |