From: Stan Shebs Date: Tue, 23 Jan 2018 17:36:14 +0000 (-0800) Subject: For now, disable asm definitions of mempcpy and strpcpy X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb218d6b8ba4c32b61c02929ed1fd39f925fd176;p=thirdparty%2Fglibc.git For now, disable asm definitions of mempcpy and strpcpy --- diff --git a/include/string.h b/include/string.h index bb4922cbbe6..8eb9544169e 100644 --- a/include/string.h +++ b/include/string.h @@ -163,6 +163,7 @@ extern __typeof (strnlen) strnlen attribute_hidden; extern __typeof (strsep) strsep attribute_hidden; #endif +#ifndef __clang__ #if (!IS_IN (libc) || !defined SHARED) \ && !defined NO_MEMPCPY_STPCPY_REDIRECT /* Redirect calls to __builtin_mempcpy and __builtin_stpcpy to call @@ -170,6 +171,7 @@ extern __typeof (strsep) strsep attribute_hidden; extern __typeof (mempcpy) mempcpy __asm__ ("__mempcpy"); extern __typeof (stpcpy) stpcpy __asm__ ("__stpcpy"); #endif +#endif extern void *__memcpy_chk (void *__restrict __dest, const void *__restrict __src, size_t __len,