From 6260cd9361a2f4b8f51e280c32f415613288436f Mon Sep 17 00:00:00 2001 From: drahn Date: Wed, 28 Apr 2021 04:26:40 +0000 Subject: [PATCH] riscv64 libc string support, adopted from aarch64, no native ffs() for now, use C version. after corrections from kettenis@ --- lib/libc/arch/riscv64/string/Makefile.inc | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lib/libc/arch/riscv64/string/Makefile.inc diff --git a/lib/libc/arch/riscv64/string/Makefile.inc b/lib/libc/arch/riscv64/string/Makefile.inc new file mode 100644 index 00000000000..22940ae0cdd --- /dev/null +++ b/lib/libc/arch/riscv64/string/Makefile.inc @@ -0,0 +1,9 @@ +# $OpenBSD: Makefile.inc,v 1.1 2021/04/28 04:26:40 drahn Exp $ + +SRCS+= bcopy.c memcpy.c memmove.c \ + strchr.c strrchr.c \ + bcmp.c bzero.c ffs.c memchr.c memcmp.c memset.c \ + strcmp.c strncmp.c \ + strcat.c strcpy.c strcspn.c strlen.c strlcat.c strlcpy.c \ + strncat.c strncpy.c strpbrk.c strsep.c \ + strspn.c swab.c strstr.c -- 2.20.1