For now, disable asm definitions of mempcpy and strpcpy

This commit is contained in:
Stan Shebs 2018-01-23 09:36:14 -08:00
parent fe9f4b71d6
commit 2224a3d98d

View File

@ -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,