summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2000-06-16 19:11:25 +0000
committermillert <millert@openbsd.org>2000-06-16 19:11:25 +0000
commit7e8962544e4b7a6fd10428df8e91b514cb28e1b9 (patch)
treee13cb063f81b794a49732439f25238925d0247a4
parentupdate and sort list of vflags, iflags, nfsflags, mntflags. also (diff)
downloadwireguard-openbsd-7e8962544e4b7a6fd10428df8e91b514cb28e1b9.tar.xz
wireguard-openbsd-7e8962544e4b7a6fd10428df8e91b514cb28e1b9.zip
Cannot emulate memcmp() with bcmp() due to different return values;
memcmp() will be added to libkern.
-rw-r--r--sys/arch/i386/i386/locore.s11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/arch/i386/i386/locore.s b/sys/arch/i386/i386/locore.s
index 05c0f3dc1c0..956811b66d2 100644
--- a/sys/arch/i386/i386/locore.s
+++ b/sys/arch/i386/i386/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.51 2000/06/05 11:02:54 art Exp $ */
+/* $OpenBSD: locore.s,v 1.52 2000/06/16 19:11:25 millert Exp $ */
/* $NetBSD: locore.s,v 1.145 1996/05/03 19:41:19 christos Exp $ */
/*-
@@ -900,15 +900,6 @@ ENTRY(memcpy)
movl %ecx,4(%esp)
jmp _bcopy
-/*
- * Emulate memcmp() by swapping the first two arguments and calling bcmp()
- */
-ENTRY(memcmp)
- movl 4(%esp),%ecx
- xchg 8(%esp),%ecx
- movl %ecx,4(%esp)
- jmp _bcmp
-
/*****************************************************************************/
/*