summaryrefslogtreecommitdiff
path: root/libc/string/x86_64/strcpy.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/x86_64/strcpy.S')
-rw-r--r--libc/string/x86_64/strcpy.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/string/x86_64/strcpy.S b/libc/string/x86_64/strcpy.S
index 0847e2b7c..1a64d2745 100644
--- a/libc/string/x86_64/strcpy.S
+++ b/libc/string/x86_64/strcpy.S
@@ -21,7 +21,10 @@
#include "_glibc_inc.h"
#ifndef USE_AS_STPCPY
-# define STRCPY strcpy
+# define STRCPY __strcpy
+.global strcpy
+.set strcpy,__strcpy
+.hidden __strcpy
#endif
.text