about summary refs log tree commit diff
path: root/sysdeps/i386/multiarch/stpncpy-i386.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/multiarch/stpncpy-i386.S')
-rw-r--r--sysdeps/i386/multiarch/stpncpy-i386.S12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysdeps/i386/multiarch/stpncpy-i386.S b/sysdeps/i386/multiarch/stpncpy-i386.S
new file mode 100644
index 0000000000..3cd0903508
--- /dev/null
+++ b/sysdeps/i386/multiarch/stpncpy-i386.S
@@ -0,0 +1,12 @@
+#define __stpncpy __stpncpy_i386
+#undef libc_hidden_def
+#define libc_hidden_def(name)
+#undef weak_alias
+#define weak_alias(name, aliasname)
+#include <sysdeps/i386/stpncpy.S>
+
+#ifdef SHARED
+	.globl __GI___stpncpy
+	.hidden __GI___stpncpy
+	__GI___stpncpy = __stpncpy_i386
+#endif