summaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/multiarch/strncmp-c.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/multiarch/strncmp-c.c')
-rw-r--r--sysdeps/x86_64/multiarch/strncmp-c.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/x86_64/multiarch/strncmp-c.c b/sysdeps/x86_64/multiarch/strncmp-c.c
new file mode 100644
index 0000000000..d4f74a418d
--- /dev/null
+++ b/sysdeps/x86_64/multiarch/strncmp-c.c
@@ -0,0 +1,8 @@
+#ifdef SHARED
+#define STRNCMP __strncmp_sse2
+#undef libc_hidden_builtin_def
+#define libc_hidden_builtin_def(name) \
+ __hidden_ver1 (__strncmp_sse2, __GI_strncmp, __strncmp_sse2);
+#endif
+
+#include "strncmp.c"