Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Improve previous:
details: https://anonhg.NetBSD.org/src/rev/504c3cf69ec7
branches: trunk
changeset: 984862:504c3cf69ec7
user: rin <rin%NetBSD.org@localhost>
date: Mon Jul 26 12:49:13 2021 +0000
description:
Improve previous:
- Add suffix ``d'' for mkdep(1).
- Improve comment a little...
diffstat:
lib/libc/arch/powerpc/string/Makefile.inc | 9 ++++-----
sys/lib/libkern/arch/powerpc/Makefile.inc | 7 ++++---
2 files changed, 8 insertions(+), 8 deletions(-)
diffs (45 lines):
diff -r 5d0773377a67 -r 504c3cf69ec7 lib/libc/arch/powerpc/string/Makefile.inc
--- a/lib/libc/arch/powerpc/string/Makefile.inc Sun Jul 25 22:43:08 2021 +0000
+++ b/lib/libc/arch/powerpc/string/Makefile.inc Mon Jul 26 12:49:13 2021 +0000
@@ -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
diff -r 5d0773377a67 -r 504c3cf69ec7 sys/lib/libkern/arch/powerpc/Makefile.inc
--- a/sys/lib/libkern/arch/powerpc/Makefile.inc Sun Jul 25 22:43:08 2021 +0000
+++ b/sys/lib/libkern/arch/powerpc/Makefile.inc Mon Jul 26 12:49:13 2021 +0000
@@ -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+= 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
Home |
Main Index |
Thread Index |
Old Index