about summary refs log tree commit diff
path: root/sysdeps/i386/multiarch/memcpy-i586.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/multiarch/memcpy-i586.S')
-rw-r--r--sysdeps/i386/multiarch/memcpy-i586.S16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysdeps/i386/multiarch/memcpy-i586.S b/sysdeps/i386/multiarch/memcpy-i586.S
new file mode 100644
index 0000000000..35162d219b
--- /dev/null
+++ b/sysdeps/i386/multiarch/memcpy-i586.S
@@ -0,0 +1,16 @@
+#ifdef SHARED
+# include <init-arch.h>
+# if !SUPPORT_I686
+#  define memcpy __memcpy_i586
+#  define __memcpy_chk __memcpy_chk_i586
+#  undef libc_hidden_builtin_def
+#  define libc_hidden_builtin_def(name)
+#  include <sysdeps/i386/i586/memcpy.S>
+
+#  if SUPPORT_I586
+	.globl __GI_memcpy
+	.hidden __GI_memcpy
+	__GI_memcpy = __memcpy_i586
+#  endif
+# endif
+#endif