summaryrefslogtreecommitdiff
path: root/libc/string/x86_64/memset.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/memset.S
parentf56e03f5754f666423a80c0d4e74a908a48e1997 (diff)
Add hidden versions
Diffstat (limited to 'libc/string/x86_64/memset.S')
-rw-r--r--libc/string/x86_64/memset.S7
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/string/x86_64/memset.S b/libc/string/x86_64/memset.S
index d74ec8ccb..d66195580 100644
--- a/libc/string/x86_64/memset.S
+++ b/libc/string/x86_64/memset.S
@@ -35,7 +35,10 @@ ENTRY (__memset_chk)
jb HIDDEN_JUMPTARGET (__chk_fail)
END (__memset_chk)
#endif
-ENTRY (memset)
+.global memset
+.set memset,__memset
+.hidden __memset
+ENTRY (__memset)
#if BZERO_P
mov %rsi,%rdx /* Adjust parameter. */
xorl %esi,%esi /* Fill with 0s. */
@@ -131,7 +134,7 @@ ENTRY (memset)
jne 11b
jmp 4b
-END (memset)
+END (__memset)
#if !BZERO_P && defined PIC && !defined NOT_IN_libc
strong_alias (__memset_chk, __memset_zero_constant_len_parameter)