about summary refs log tree commit diff homepage
path: root/runtime/Intrinsic/memmove.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/Intrinsic/memmove.c')
-rw-r--r--runtime/Intrinsic/memmove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/Intrinsic/memmove.c b/runtime/Intrinsic/memmove.c
index c6e1ada9..e89abf7d 100644
--- a/runtime/Intrinsic/memmove.c
+++ b/runtime/Intrinsic/memmove.c
@@ -9,7 +9,7 @@
 
 #include <stdlib.h>
 
-void *memmove(void *dst, const void *src, size_t count) {
+__attribute__((weak)) void *memmove(void *dst, const void *src, size_t count) {
   char *a = dst;
   const char *b = src;