Module Name: src Committed By: joerg Date: Thu Jun 16 16:47:54 UTC 2011
Modified Files: src/sys/lib/libsa: Makefile Log Message: Don't use C versions of memcmp, memcpy, memmove, memset and strchr on x86 for standalone code. The assembler versions are much smaller. To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 src/sys/lib/libsa/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/lib/libsa/Makefile diff -u src/sys/lib/libsa/Makefile:1.72 src/sys/lib/libsa/Makefile:1.73 --- src/sys/lib/libsa/Makefile:1.72 Wed May 11 16:23:40 2011 +++ src/sys/lib/libsa/Makefile Thu Jun 16 16:47:53 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.72 2011/05/11 16:23:40 zoltan Exp $ +# $NetBSD: Makefile,v 1.73 2011/06/16 16:47:53 joerg Exp $ LIB= sa NOPIC= # defined @@ -33,7 +33,9 @@ .endif # string routines +.if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64" SRCS+= memcmp.c memcpy.c memmove.c memset.c strchr.c +.endif SRCS+= bcopy.c bzero.c # Remove me eventually. # io routines