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