summaryrefslogtreecommitdiff
path: root/libc/string/x86_64/memcpy.S
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-12 01:03:51 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-12 01:03:51 +0000
commit7e51a684c591db163a3944de55848dc642643b6c (patch)
tree67c62366ec191251ba2f5dea46a127303fd16f77 /libc/string/x86_64/memcpy.S
parentf56e03f5754f666423a80c0d4e74a908a48e1997 (diff)
Add hidden versions
Diffstat (limited to 'libc/string/x86_64/memcpy.S')
-rw-r--r--libc/string/x86_64/memcpy.S7
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/string/x86_64/memcpy.S b/libc/string/x86_64/memcpy.S
index 4fa38a640..c375bf3fb 100644
--- a/libc/string/x86_64/memcpy.S
+++ b/libc/string/x86_64/memcpy.S
@@ -32,7 +32,10 @@ ENTRY (__memcpy_chk)
jb HIDDEN_JUMPTARGET (__chk_fail)
END (__memcpy_chk)
#endif
-ENTRY (BP_SYM (memcpy))
+.global memcpy
+.set memcpy,__memcpy
+.hidden __memcpy
+ENTRY (BP_SYM (__memcpy))
/* Cutoff for the big loop is a size of 32 bytes since otherwise
the loop will never be entered. */
cmpq $32, %rdx
@@ -92,4 +95,4 @@ ENTRY (BP_SYM (memcpy))
#endif
ret
-END (BP_SYM (memcpy))
+END (BP_SYM (__memcpy))