mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-04 10:50:07 +00:00
0f4254311e
It also cleanups the multiple inclusion by leaving the ifunc implementation to undef the weak_alias and libc_hidden_def. Co-authored-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
11 lines
401 B
C
11 lines
401 B
C
#define STRNLEN __strnlen_ia32
|
|
#include <string/strnlen.c>
|
|
|
|
#ifdef SHARED
|
|
/* Alias for internal symbol to avoid PLT generation, it redirects the
|
|
libc_hidden_def (__strnlen/strlen) to default implementation. */
|
|
__hidden_ver1 (__strnlen_ia32, __GI_strnlen, __strnlen_ia32);
|
|
strong_alias (__strnlen_ia32, __strnlen_ia32_1);
|
|
__hidden_ver1 (__strnlen_ia32_1, __GI___strnlen, __strnlen_ia32_1);
|
|
#endif
|