Use startswith more for strncmp function calls.
[deliverable/binutils-gdb.git] / bfd / elfxx-tilegx.c
index 28a1a43a96cbcd9ffa3d9e113c66cdbb22a41190..a517831a07c8009e9cbf465622533fa2deed9333 100644 (file)
@@ -2578,7 +2578,7 @@ tilegx_elf_size_dynamic_sections (bfd *output_bfd ATTRIBUTE_UNUSED,
          /* Strip this section if we don't need it; see the
             comment below.  */
        }
-      else if (strncmp (s->name, ".rela", 5) == 0)
+      else if (startswith (s->name, ".rela"))
        {
          if (s->size != 0)
            {
This page took 0.022894 seconds and 4 git commands to generate.