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.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/string/x86_64/strcpy.S b/libc/string/x86_64/strcpy.S
index 1a64d2745..0bd2a6471 100644
--- a/libc/string/x86_64/strcpy.S
+++ b/libc/string/x86_64/strcpy.S
@@ -22,9 +22,6 @@
#ifndef USE_AS_STPCPY
# define STRCPY __strcpy
-.global strcpy
-.set strcpy,__strcpy
-.hidden __strcpy
#endif
.text
@@ -154,3 +151,6 @@ ENTRY (BP_SYM (STRCPY))
#endif
retq
END (BP_SYM (STRCPY))
+#ifndef USE_AS_STPCPY
+strong_alias(__strcpy,strcpy)
+#endif