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