The generic version provides weak definitions of memchr/strlen,
which are already provided by the ifunc resolvers.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
# undef libc_hidden_builtin_def
# define libc_hidden_builtin_def(name)
+# undef weak_alias
+# define weak_alias(a, b)
+
/* Add a hidden definition for use within libc.so. */
# ifdef SHARED
.globl __GI_memchr; __GI_memchr = __memchr_generic
# undef libc_hidden_builtin_def
# define libc_hidden_builtin_def(name)
+# undef weak_alias
+# define weak_alias(a, b)
+
# ifdef SHARED
/* It doesn't make sense to send libc-internal strlen calls through a PLT. */
.globl __GI_strlen; __GI_strlen = __strlen_generic