aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/core/support/wrap_memcpy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/support/wrap_memcpy.c b/src/core/support/wrap_memcpy.c
index cb59cc7e50..ac30668ec1 100644
--- a/src/core/support/wrap_memcpy.c
+++ b/src/core/support/wrap_memcpy.c
@@ -40,7 +40,9 @@
*/
#ifdef __linux__
+#ifdef __x86_64__
__asm__(".symver memcpy,memcpy@GLIBC_2.2.5");
+#endif
void *__wrap_memcpy(void *destination, const void *source, size_t num) {
return memcpy(destination, source, num);