From 2a3ffa836a3a9f94f19ee2671f41c1851221a105 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 22 Dec 2015 10:56:08 +0100 Subject: Use gcc's __builtin_mempcpy() as __mempcpy(), if possible Patch from OpenWrt. Reported-by: Leonid Lisovskiy --- libc/string/generic/mempcpy.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libc/string') diff --git a/libc/string/generic/mempcpy.c b/libc/string/generic/mempcpy.c index d7fa79ef5..bb5563a6a 100644 --- a/libc/string/generic/mempcpy.c +++ b/libc/string/generic/mempcpy.c @@ -16,4 +16,5 @@ void *mempcpy (void *dstpp, const void *srcpp, size_t len) return (void *)(((char *)dstpp) + len); } libc_hidden_weak(mempcpy) +strong_alias(mempcpy,__mempcpy) #endif -- cgit v1.2.3