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/powerpc For evbppc, use C version of me...
details: https://anonhg.NetBSD.org/src/rev/883b7cdc9364
branches: trunk
changeset: 984794:883b7cdc9364
user: rin <rin%NetBSD.org@localhost>
date: Sat Jul 24 05:29:26 2021 +0000
description:
For evbppc, use C version of memcpy(3), memcmp(3), and memmove(3)
consistently for *.{po,pico,go} (for RUMP), in order to avoid
alignment faults for 403.
diffstat:
sys/lib/libkern/arch/powerpc/Makefile.inc | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (22 lines):
diff -r 6248c4c8b695 -r 883b7cdc9364 sys/lib/libkern/arch/powerpc/Makefile.inc
--- a/sys/lib/libkern/arch/powerpc/Makefile.inc Sat Jul 24 05:27:25 2021 +0000
+++ b/sys/lib/libkern/arch/powerpc/Makefile.inc Sat Jul 24 05:29:26 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.31 2011/07/02 03:35:03 matt Exp $
+# $NetBSD: Makefile.inc,v 1.32 2021/07/24 05:29:26 rin Exp $
SRCS+= bswap16.c bswap32.c
SRCS+= htonl.c htons.c ntohl.c ntohs.c
@@ -9,7 +9,9 @@
# Disable the asm versions on evbppc because they break the Explora
.if ${MACHINE} == "evbppc"
-memcpy.o: memcpy.c
-memcmp.o: memcmp.c
-memmove.o: memmove.c
+. for name in memcmp memcpy memmove
+. for suffix in o po pico go
+${name}.${suffix}: ${name}.c
+. endfor
+. endfor
.endif
Home |
Main Index |
Thread Index |
Old Index