about summary refs log tree commit diff
path: root/sysdeps/i386/multiarch/strpbrk-i386.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/multiarch/strpbrk-i386.S')
-rw-r--r--sysdeps/i386/multiarch/strpbrk-i386.S13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysdeps/i386/multiarch/strpbrk-i386.S b/sysdeps/i386/multiarch/strpbrk-i386.S
new file mode 100644
index 0000000000..94e91339f2
--- /dev/null
+++ b/sysdeps/i386/multiarch/strpbrk-i386.S
@@ -0,0 +1,13 @@
+#ifdef SHARED
+# define strpbrk __strpbrk_i386
+# undef libc_hidden_builtin_def
+# define libc_hidden_builtin_def(name)
+#endif
+
+#include <sysdeps/i386/strpbrk.S>
+
+#ifdef SHARED
+	.globl __GI_strpbrk
+	.hidden __GI_strpbrk
+	__GI_strpbrk = __strpbrk_i386
+#endif