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