Skip to content

Commit

Permalink
* sysdeps/x86_64/memset.S (bzero): Renamed to __bzero. Add
Browse files Browse the repository at this point in the history
weak_alias.
2007-10-17  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/x86_64/memset.S (bzero): Renamed to __bzero.  Add
	weak_alias.
  • Loading branch information
Jakub Jelinek committed Oct 18, 2007
1 parent ee9fd86 commit ed13ccf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
5 changes: 3 additions & 2 deletions sysdeps/x86_64/memset.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ed13ccf

Please sign in to comment.