zte's code,first commit
Change-Id: I9a04da59e459a9bc0d67f101f700d9d7dc8d681b
diff --git a/ap/build/uClibc/libc/string/generic/mempcpy.c b/ap/build/uClibc/libc/string/generic/mempcpy.c
new file mode 100644
index 0000000..d7fa79e
--- /dev/null
+++ b/ap/build/uClibc/libc/string/generic/mempcpy.c
@@ -0,0 +1,19 @@
+/* Copy memory to memory until the specified number of bytes
+ has been copied, return pointer to following byte.
+ Overlap is NOT handled correctly.
+*/
+
+/* Ditch the glibc version and just wrap memcpy. */
+
+#include <string.h>
+
+#ifdef __USE_GNU
+
+# undef mempcpy
+void *mempcpy (void *dstpp, const void *srcpp, size_t len)
+{
+ memcpy(dstpp, srcpp, len);
+ return (void *)(((char *)dstpp) + len);
+}
+libc_hidden_weak(mempcpy)
+#endif