diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2000-06-16 19:11:26 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2000-06-16 19:11:26 +0000 |
commit | 55d929c88b08c824925f9c92cc59d0711b925845 (patch) | |
tree | 2c75e17e8892c49262e1309951479b8ea5ecc0f0 /sys/arch/i386 | |
parent | 1e12e71c240e2618b818a2121a34f4b20acd433f (diff) |
Cannot emulate memcmp() with bcmp() due to different return values;
memcmp() will be added to libkern.
Diffstat (limited to 'sys/arch/i386')
-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 - /*****************************************************************************/ /* |