mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
ia64: Remove bzero optimization
The symbol is not present current POSIX specification and compiler already generates memset call. The arch specific implementation is just to avoid the __bzero symbol creation (which ia64 abi does not export).
This commit is contained in:
@ -17,12 +17,12 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#undef __bzero
|
||||
|
||||
/* Set N bytes of S to 0. */
|
||||
void
|
||||
__bzero (void *s, size_t len)
|
||||
{
|
||||
memset (s, '\0', len);
|
||||
}
|
||||
#ifndef __bzero
|
||||
weak_alias (__bzero, bzero)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user