Module Name:    src
Committed By:   rin
Date:           Mon Jul 26 12:49:13 UTC 2021

Modified Files:
        src/lib/libc/arch/powerpc/string: Makefile.inc
        src/sys/lib/libkern/arch/powerpc: Makefile.inc

Log Message:
Improve previous:

- Add suffix ``d'' for mkdep(1).
- Improve comment a little...


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/lib/libc/arch/powerpc/string/Makefile.inc
cvs rdiff -u -r1.32 -r1.33 src/sys/lib/libkern/arch/powerpc/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/arch/powerpc/string/Makefile.inc
diff -u src/lib/libc/arch/powerpc/string/Makefile.inc:1.14 src/lib/libc/arch/powerpc/string/Makefile.inc:1.15
--- src/lib/libc/arch/powerpc/string/Makefile.inc:1.14	Sat Jul 24 05:27:25 2021
+++ src/lib/libc/arch/powerpc/string/Makefile.inc	Mon Jul 26 12:49:13 2021
@@ -1,14 +1,13 @@
-#	$NetBSD: Makefile.inc,v 1.14 2021/07/24 05:27:25 rin Exp $
+#	$NetBSD: Makefile.inc,v 1.15 2021/07/26 12:49:13 rin Exp $
 
 SRCS+=  bzero.S ffs.S strlen.S
 NO_SRCS+= memset.S
 
-# disable the asm versions of these because they break the explora.
-# the special rules here are to override the suffix rules which seem
-# to prefer .S files over .c
+# XXX
+# Disable asm versions that use unaligned memory access and thus break 403.
 .if ${MACHINE} == "evbppc"
 .  for name in bcopy memcmp memcpy memmove
-.    for suffix in o po pico go
+.    for suffix in o po pico go d
 ${name}.${suffix}: ${name}.c
 .    endfor
 .  endfor

Index: src/sys/lib/libkern/arch/powerpc/Makefile.inc
diff -u src/sys/lib/libkern/arch/powerpc/Makefile.inc:1.32 src/sys/lib/libkern/arch/powerpc/Makefile.inc:1.33
--- src/sys/lib/libkern/arch/powerpc/Makefile.inc:1.32	Sat Jul 24 05:29:26 2021
+++ src/sys/lib/libkern/arch/powerpc/Makefile.inc	Mon Jul 26 12:49:13 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.32 2021/07/24 05:29:26 rin Exp $
+#	$NetBSD: Makefile.inc,v 1.33 2021/07/26 12:49:13 rin Exp $
 
 SRCS+=	bswap16.c bswap32.c
 SRCS+=	htonl.c htons.c ntohl.c ntohs.c
@@ -7,10 +7,11 @@ SRCS+=	syncicache.c
 SRCS+=	ffs.S memset.S strlen.S
 SRCS+=	gprsavrest.S
 
-# Disable the asm versions on evbppc because they break the Explora
+# XXX
+# Disable asm versions that use unaligned memory access and thus break 403.
 .if ${MACHINE} == "evbppc"
 .  for name in memcmp memcpy memmove
-.    for suffix in o po pico go
+.    for suffix in o po pico go d
 ${name}.${suffix}: ${name}.c
 .    endfor
 .  endfor

Reply via email to