* sysdeps/x86_64/memset.S (bzero): Renamed to __bzero. Add

weak_alias.
2007-10-17  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/x86_64/memset.S (bzero): Renamed to __bzero.  Add
	weak_alias.
This commit is contained in:
Jakub Jelinek 2007-10-18 00:09:32 +00:00
parent ee9fd869a1
commit ed13ccf1f7
2 changed files with 8 additions and 2 deletions

View File

@ -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.

View File

@ -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