PR 26107
* pdp11.c (is_stab): Replace legacy "index" function with "strchr".
+2020-06-11 Alan Modra <amodra@gmail.com>
+
+ PR 26107
+ * pdp11.c (is_stab): Replace legacy "index" function with "strchr".
+
2020-06-10 H.J. Lu <hongjiu.lu@intel.com>
* elfnn-ia64.c (elfNN_ia64_link_hash_table): Remove reltext.
is_stab (int type, const char *name)
{
if (type == N_GSYM || type == N_FUN)
- return (index(name, ':') != NULL);
- return (type > N_FUN);
+ return strchr (name, ':') != NULL;
+ return type > N_FUN;
}
static int