summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2021-04-28 04:26:41 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2021-04-28 04:26:41 +0000
commit81874dfaf3f39dcb901ec6f240a0211dfd86c7fd (patch)
tree98b39acd8a05c5027085435db1bc820dd82dca3a /lib
parent6b193132ad5969650f38c3d07650d281a4ce528e (diff)
riscv64 libc string support,
adopted from aarch64, no native ffs() for now, use C version. after corrections from kettenis@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/arch/riscv64/string/Makefile.inc9
1 files changed, 9 insertions, 0 deletions
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