summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-04-20 13:02:48 +0000
committerbde <bde@FreeBSD.org>1997-04-20 13:02:48 +0000
commitf5e7e31898a53ecf946215bf9227395a9da8130b (patch)
tree0eb2931e76884ec6e048cf79c021c6817641ebec
parent6c79d08eca26db7ed38ca9e7a8d8054b33b36f05 (diff)
downloadFreeBSD-src-f5e7e31898a53ecf946215bf9227395a9da8130b.zip
FreeBSD-src-f5e7e31898a53ecf946215bf9227395a9da8130b.tar.gz
Use separate routines for memmove() and memcpy(). This lets me drop
the (buggy) support for alternative entry points. ALTENTRY() was only used for memmove(). Optimizing for space was particularly silly because memcpy() is rarely used (gcc normally inlines it). Obtained from: NetBSD
-rw-r--r--lib/libc/i386/string/memcpy.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/i386/string/memcpy.S b/lib/libc/i386/string/memcpy.S
new file mode 100644
index 0000000..1617c71
--- /dev/null
+++ b/lib/libc/i386/string/memcpy.S
@@ -0,0 +1,2 @@
+#define MEMCOPY
+#include "bcopy.S"
OpenPOWER on IntegriCloud