summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-09-03 06:44:22 -0700
committerUlrich Drepper <drepper@redhat.com>2009-09-03 06:44:22 -0700
commit04ef416adc346e7e09fca7b27c4b6307b427e95b (patch)
tree0a0788e64c4a6e7d2059e64c4ba7365717b565b3 /sysdeps
parent01034d7590f0db29a689d0037cf9b837e38e7482 (diff)
Fix IA-32 strstr in multiarch configuration as well.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/i386/i686/multiarch/strstr-c.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/i386/i686/multiarch/strstr-c.c b/sysdeps/i386/i686/multiarch/strstr-c.c
index 7ef1157ce4..efa9f78f81 100644
--- a/sysdeps/i386/i686/multiarch/strstr-c.c
+++ b/sysdeps/i386/i686/multiarch/strstr-c.c
@@ -7,6 +7,7 @@
#include "string/strstr.c"
-extern char *__strstr_sse42 (const char *, const char *);
+extern char *__strstr_sse42 (const char *, const char *) attribute_hidden;
+extern __typeof (__strstr_ia32) __strstr_ia32 attribute_hidden;
libc_ifunc (strstr, HAS_SSE4_2 ? __strstr_sse42 : __strstr_ia32);