summaryrefslogtreecommitdiff
path: root/libc/string/x86_64/strcat.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/x86_64/strcat.S')
-rw-r--r--libc/string/x86_64/strcat.S7
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/string/x86_64/strcat.S b/libc/string/x86_64/strcat.S
index 1106cb4ed..9ee10b202 100644
--- a/libc/string/x86_64/strcat.S
+++ b/libc/string/x86_64/strcat.S
@@ -23,7 +23,10 @@
.text
-ENTRY (BP_SYM (strcat))
+.global strcat
+.set strcat,__strcat
+.hidden __strcat
+ENTRY (BP_SYM (__strcat))
movq %rdi, %rcx /* Dest. register. */
andl $7, %ecx /* mask alignment bits */
movq %rdi, %rax /* Duplicate destination pointer. */
@@ -253,4 +256,4 @@ ENTRY (BP_SYM (strcat))
24:
movq %rdi, %rax /* Source is return value. */
retq
-END (BP_SYM (strcat))
+END (BP_SYM (__strcat))