Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/lib/libkern/arch Make x86 use the C version of memcmp().



details:   https://anonhg.NetBSD.org/src/rev/a269f55911b9
branches:  trunk
changeset: 848395:a269f55911b9
user:      ad <ad%NetBSD.org@localhost>
date:      Mon Jan 27 22:06:13 2020 +0000

description:
Make x86 use the C version of memcmp().

diffstat:

 sys/lib/libkern/arch/i386/Makefile.inc   |  4 ++--
 sys/lib/libkern/arch/x86_64/Makefile.inc |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 79a533f5af0a -r a269f55911b9 sys/lib/libkern/arch/i386/Makefile.inc
--- a/sys/lib/libkern/arch/i386/Makefile.inc    Mon Jan 27 22:05:10 2020 +0000
+++ b/sys/lib/libkern/arch/i386/Makefile.inc    Mon Jan 27 22:06:13 2020 +0000
@@ -1,7 +1,7 @@
-#      $NetBSD: Makefile.inc,v 1.31 2009/08/14 19:23:53 dsl Exp $
+#      $NetBSD: Makefile.inc,v 1.32 2020/01/27 22:06:13 ad Exp $
 
 SRCS+= byte_swap_2.S byte_swap_4.S ffs.S
-SRCS+= memchr.S memcmp.S memcpy.S memmove.S memset.S
+SRCS+= memchr.S memcpy.S memmove.S memset.S
 SRCS+= random.S
 SRCS+= strcat.S strchr.S strcmp.S
 SRCS+= strcpy.S strlen.S
diff -r 79a533f5af0a -r a269f55911b9 sys/lib/libkern/arch/x86_64/Makefile.inc
--- a/sys/lib/libkern/arch/x86_64/Makefile.inc  Mon Jan 27 22:05:10 2020 +0000
+++ b/sys/lib/libkern/arch/x86_64/Makefile.inc  Mon Jan 27 22:06:13 2020 +0000
@@ -1,8 +1,8 @@
-#      $NetBSD: Makefile.inc,v 1.6 2010/01/14 02:09:46 joerg Exp $
+#      $NetBSD: Makefile.inc,v 1.7 2020/01/27 22:06:13 ad Exp $
 
 SRCS+= byte_swap_2.S byte_swap_4.S byte_swap_8.S
 SRCS+= ffs.S
-SRCS+= memchr.S memcmp.S memcpy.S memmove.S memset.S
+SRCS+= memchr.S memcpy.S memmove.S memset.S
 SRCS+= strcat.S strchr.S strcmp.S
 SRCS+= strcpy.S strlen.S
 SRCS+= strrchr.S



Home | Main Index | Thread Index | Old Index