about summary refs log tree commit diff
path: root/sysdeps/x86_64/memset.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/memset.S')
-rw-r--r--sysdeps/x86_64/memset.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/x86_64/memset.S b/sysdeps/x86_64/memset.S
index db39b09c89..bf2ef005b4 100644
--- a/sysdeps/x86_64/memset.S
+++ b/sysdeps/x86_64/memset.S
@@ -30,11 +30,12 @@
 
         .text
 #ifndef NOT_IN_libc
-ENTRY(bzero)
+ENTRY(__bzero)
 	mov	%rsi,%rdx	/* Adjust parameter.  */
 	xorl	%esi,%esi	/* Fill with 0s.  */
 	jmp	L(memset_entry)
-END(bzero)
+END(__bzero)
+weak_alias (__bzero, bzero)
 #endif
 
 #if defined PIC && !defined NOT_IN_libc