From 60f1ad4e648cd8723caf99a008cbb2c032e9ddc2 Mon Sep 17 00:00:00 2001 From: ad Date: Mon, 27 Jan 2020 22:08:08 +0000 Subject: [PATCH] Make x86 use the C versions of bcmp() and memcmp(). --- lib/libc/arch/i386/string/Makefile.inc | 4 ++-- lib/libc/arch/x86_64/string/Makefile.inc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/libc/arch/i386/string/Makefile.inc b/lib/libc/arch/i386/string/Makefile.inc index c1611747ac00..8cb729d578a8 100644 --- a/lib/libc/arch/i386/string/Makefile.inc +++ b/lib/libc/arch/i386/string/Makefile.inc @@ -1,6 +1,6 @@ -# $NetBSD: Makefile.inc,v 1.5 2009/07/30 20:57:16 dsl Exp $ +# $NetBSD: Makefile.inc,v 1.6 2020/01/27 22:08:08 ad Exp $ # objects built from assembler sources -SRCS+= bcmp.S bcopy.S bzero.S ffs.S memchr.S memcmp.S \ +SRCS+= bcopy.S bzero.S ffs.S memchr.S \ memcpy.S memmove.S memset.S strcat.S strchr.S \ strcmp.S strcpy.S strlen.S strncmp.S strrchr.S swab.S diff --git a/lib/libc/arch/x86_64/string/Makefile.inc b/lib/libc/arch/x86_64/string/Makefile.inc index 22831f487108..1bd168e14e43 100644 --- a/lib/libc/arch/x86_64/string/Makefile.inc +++ b/lib/libc/arch/x86_64/string/Makefile.inc @@ -1,7 +1,7 @@ -# $NetBSD: Makefile.inc,v 1.6 2013/11/24 03:50:17 christos Exp $ +# $NetBSD: Makefile.inc,v 1.7 2020/01/27 22:08:08 ad Exp $ # objects built from assembler sources -SRCS+= bcmp.S bcopy.S ffs.S memchr.S memcmp.S \ +SRCS+= bcopy.S ffs.S memchr.S \ memcpy.S memmove.S memset.S strcat.S strchr.S \ strcmp.S strcpy.S strlen.S strncmp.S strrchr.S swab.S NO_SRCS+= bzero.c