about summary refs log tree commit diff
path: root/sysdeps/i386/multiarch/strncase_l-i386.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/multiarch/strncase_l-i386.c')
-rw-r--r--sysdeps/i386/multiarch/strncase_l-i386.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysdeps/i386/multiarch/strncase_l-i386.c b/sysdeps/i386/multiarch/strncase_l-i386.c
new file mode 100644
index 0000000000..efee0bf991
--- /dev/null
+++ b/sysdeps/i386/multiarch/strncase_l-i386.c
@@ -0,0 +1,13 @@
+#include <string.h>
+
+extern __typeof (strncasecmp_l) __strncasecmp_l_nonascii;
+
+#define __strncasecmp_l __strncasecmp_l_nonascii
+#define USE_IN_EXTENDED_LOCALE_MODEL    1
+#include <string/strncase.c>
+
+strong_alias (__strncasecmp_l_nonascii, __strncasecmp_l_i386)
+
+/* The needs of strcasecmp in libc are minimal, no need to go through
+   the IFUNC.  */
+strong_alias (__strncasecmp_l_nonascii, __GI___strncasecmp_l)