diff options
author | 2000-06-16 19:11:25 +0000 | |
---|---|---|
committer | 2000-06-16 19:11:25 +0000 | |
commit | 7e8962544e4b7a6fd10428df8e91b514cb28e1b9 (patch) | |
tree | e13cb063f81b794a49732439f25238925d0247a4 | |
parent | update and sort list of vflags, iflags, nfsflags, mntflags. also (diff) | |
download | wireguard-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.s | 11 |
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 - /*****************************************************************************/ /* |