Fix IA-32 strstr in multiarch configuration as well.
[glibc/pb-stable.git] / sysdeps / i386 / i686 / multiarch / strstr-c.c
blobefa9f78f81ff6f973f89f2fb1f5d6b9f5ac7b2ad
1 #include "init-arch.h"
3 #define STRSTR __strstr_ia32
4 #undef libc_hidden_builtin_def
5 #define libc_hidden_builtin_def(name) \
6 __hidden_ver1 (__strstr_ia32, __GI_strstr, __strstr_ia32);
8 #include "string/strstr.c"
10 extern char *__strstr_sse42 (const char *, const char *) attribute_hidden;
11 extern __typeof (__strstr_ia32) __strstr_ia32 attribute_hidden;
13 libc_ifunc (strstr, HAS_SSE4_2 ? __strstr_sse42 : __strstr_ia32);