summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/stand
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-04-20 22:59:05 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-04-20 22:59:05 +0000
commitb04193a04adcdf95852b6978ab3e95da7bfc03ed (patch)
tree0b3d5ce97b78217deb374f404c021efbe37bd7f4 /sys/arch/macppc/stand
parent5c3bad716b8fd62ceb09fc597c1b634f6858090e (diff)
libsa's memcpy() is actually memmove(). make a proper memmove(), and give
memcpy() correct behaviour. This also brings the bcopy() macro into line.
Diffstat (limited to 'sys/arch/macppc/stand')
-rw-r--r--sys/arch/macppc/stand/boot.mac/Makefile4
-rw-r--r--sys/arch/macppc/stand/ofwboot/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/macppc/stand/boot.mac/Makefile b/sys/arch/macppc/stand/boot.mac/Makefile
index 77367c7e347..d48bc32e675 100644
--- a/sys/arch/macppc/stand/boot.mac/Makefile
+++ b/sys/arch/macppc/stand/boot.mac/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.14 2016/07/30 03:25:49 guenther Exp $
+# $OpenBSD: Makefile,v 1.15 2019/04/20 22:59:03 deraadt Exp $
# $NetBSD: Makefile,v 1.1 1996/09/30 16:35:05 ws Exp $
S= ${.CURDIR}/../../../..
@@ -25,7 +25,7 @@ LDFLAGS+= -T ${.CURDIR}/elf32_powerpc_merge.x -Bstatic
SRCS+= getchar.c
.PATH: ${S}/lib/libkern/arch/powerpc ${S}/lib/libkern
-SRCS+= strlcpy.c memcpy.c strlen.c strrchr.c strlcat.c ashrdi3.c
+SRCS+= strlcpy.c memcpy.c memmove.c strlen.c strrchr.c strlcat.c ashrdi3.c
SRCS+= moddi3.c
CPPFLAGS+= -I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
diff --git a/sys/arch/macppc/stand/ofwboot/Makefile b/sys/arch/macppc/stand/ofwboot/Makefile
index 176e32f7aa6..8887ed64b0a 100644
--- a/sys/arch/macppc/stand/ofwboot/Makefile
+++ b/sys/arch/macppc/stand/ofwboot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.15 2016/07/30 03:25:49 guenther Exp $
+# $OpenBSD: Makefile,v 1.16 2019/04/20 22:59:04 deraadt Exp $
# $NetBSD: Makefile,v 1.2 1997/04/17 07:46:24 thorpej Exp $
S= ${.CURDIR}/../../../..
@@ -24,7 +24,7 @@ BINDIR= /usr/mdec
.PATH: ${S}/lib/libsa
.PATH: ${S}/lib/libkern/arch/powerpc ${S}/lib/libkern
-SRCS+= getchar.c strlcpy.c memcpy.c strlen.c strrchr.c \
+SRCS+= getchar.c strlcpy.c memcpy.c memmove.c strlen.c strrchr.c \
strlcat.c ashrdi3.c
SRCS+= moddi3.c