Add startswith function and use it instead of CONST_STRNEQ.
[deliverable/binutils-gdb.git] / ld / ldctor.c
index 7ab6f36c46fe1840ad510bf9e591893474f58da5..841ffe3b1e50f58111bcc14b0d6b72f5ea39a50a 100644 (file)
@@ -131,7 +131,7 @@ ctor_prio (const char *name)
   while (*name == '_')
     ++name;
 
-  if (!CONST_STRNEQ (name, "GLOBAL_"))
+  if (!startswith (name, "GLOBAL_"))
     return -1;
 
   name += sizeof "GLOBAL_" - 1;
This page took 0.024923 seconds and 4 git commands to generate.