diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/x86_64/memset.S | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 3d4df9fb38..7348573c6c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-10-17 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/x86_64/memset.S (bzero): Renamed to __bzero. Add + weak_alias. + 2007-10-17 Roland McGrath <roland@frob.com> * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU__] (F_DUPFD_CLOEXEC): New. 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 |