summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/hppa/string
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2014-11-30 19:43:54 +0000
committerderaadt <deraadt@openbsd.org>2014-11-30 19:43:54 +0000
commit5b859c19fe53bbea08f5c342e0a4470e99f883e1 (patch)
tree7252e6d2fe4779d5efa144101312151b0f8abeaa /lib/libc/arch/hppa/string
parentMask out EFER_LMA when restoring saved EFER on zzz/ZZZ resume as it's a (diff)
downloadwireguard-openbsd-5b859c19fe53bbea08f5c342e0a4470e99f883e1.tar.xz
wireguard-openbsd-5b859c19fe53bbea08f5c342e0a4470e99f883e1.zip
restructure libc/string + libc/arch/*/string coperation regarding
(potentially) MD versions (function dependent, not filename dependent) split out memcpy/memmove/bcopy and strchr/index/strrchr/rindex Bring back amd64 .S versions And the final touch: switch all architectures temporarily to MI memcpy.c, which contains syslog + abort for overlapping copies. A nice harsh undefined behaviour. We will clean the entire userland of the remaining issues in this catagory, then switch to the optimised memcpy which skips the memmove check. I tried to cut this change into pieces, but testing each sub-step on every architecture is too time consuming and mindnumbing. ok miod
Diffstat (limited to 'lib/libc/arch/hppa/string')
-rw-r--r--lib/libc/arch/hppa/string/Makefile.inc13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/libc/arch/hppa/string/Makefile.inc b/lib/libc/arch/hppa/string/Makefile.inc
index 1cb0efe2fba..68abbfc3226 100644
--- a/lib/libc/arch/hppa/string/Makefile.inc
+++ b/lib/libc/arch/hppa/string/Makefile.inc
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile.inc,v 1.7 2002/09/10 03:40:26 mickey Exp $
-
-SRCS+= bcmp.c bzero.c bcopy.c memchr.c memcmp.c memset.c index.c rindex.c \
- strcat.c strcmp.c strcpy.c strlcpy.c strcspn.c strlen.c \
- strncat.c strncmp.c strncpy.c strpbrk.c strsep.c \
- strspn.c strstr.c swab.c ffs.c
+# $OpenBSD: Makefile.inc,v 1.8 2014/11/30 19:43:56 deraadt Exp $
+SRCS+= bcopy.c memcpy.c memmove.c \
+ index.c rindex.c strchr.c strrchr.c \
+ bcmp.c bzero.c ffs.c memchr.c memcmp.c \
+ memset.c strcat.c strcmp.c strcpy.c strcspn.c strlen.c \
+ strlcat.c strlcpy.c strncat.c strncmp.c strncpy.c \
+ strpbrk.c strsep.c strspn.c strstr.c swab.c