riscv64 libc string support,
authordrahn <drahn@openbsd.org>
Wed, 28 Apr 2021 04:26:40 +0000 (04:26 +0000)
committerdrahn <drahn@openbsd.org>
Wed, 28 Apr 2021 04:26:40 +0000 (04:26 +0000)
adopted from aarch64, no native ffs() for now, use C version.
after corrections from kettenis@

lib/libc/arch/riscv64/string/Makefile.inc [new file with mode: 0644]

diff --git a/lib/libc/arch/riscv64/string/Makefile.inc b/lib/libc/arch/riscv64/string/Makefile.inc
new file mode 100644 (file)
index 0000000..22940ae
--- /dev/null
@@ -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