Message ID | 20160308135143.GA3849@intel.com |
---|---|
State | New |
Headers | show |
OK
On Tue, Mar 8, 2016 at 10:51 AM, Roland McGrath <roland@hack.frob.com> wrote:
> OK
I am backporting it to 2.23 branch.
diff --git a/sysdeps/x86/bits/string.h b/sysdeps/x86/bits/string.h index e4e019f..8dfce05 100644 --- a/sysdeps/x86/bits/string.h +++ b/sysdeps/x86/bits/string.h @@ -23,6 +23,9 @@ /* Use the unaligned string inline ABI. */ #define _STRING_INLINE_unaligned 1 +/* Don't inline mempcpy into memcpy as x86 has an optimized mempcpy. */ +#define _HAVE_STRING_ARCH_mempcpy 1 + /* Enable inline functions only for i486 or better when compiling for ia32. */ #if !defined __x86_64__ && (defined __i486__ || defined __pentium__ \