about summary refs log tree commit diff
path: root/sysdeps/i386/multiarch/memmove-i386.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/multiarch/memmove-i386.S')
-rw-r--r--sysdeps/i386/multiarch/memmove-i386.S14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysdeps/i386/multiarch/memmove-i386.S b/sysdeps/i386/multiarch/memmove-i386.S
new file mode 100644
index 0000000000..d19cb1f42c
--- /dev/null
+++ b/sysdeps/i386/multiarch/memmove-i386.S
@@ -0,0 +1,14 @@
+#ifdef SHARED
+# include <init-arch.h>
+# if !SUPPORT_I686
+#  define memmove __memmove_i386
+#  define __memmove_chk __memmove_chk_i386
+#  undef libc_hidden_builtin_def
+#  define libc_hidden_builtin_def(name)
+#  include <sysdeps/i386/memmove.S>
+
+	.globl __GI_memmove
+	.hidden __GI_memmove
+	__GI_memmove = __memmove_i386
+# endif
+#endif