Rework the R_NEG support on both gas and ld for the PowerPC AIX targets, in order...
[binutils-gdb.git] / gas / config / tc-vax.c
index 70ea305fe10190f7ccc151c0220d87d49e3577dd..f439f1b52dcb83f7d5b6c51e253ac6633ab96ad2 100644 (file)
@@ -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";