1
0
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:
Adhemerval Zanella
2022-02-10 11:31:03 -03:00
parent f883dbaf1f
commit c0d215f162
3 changed files with 5 additions and 314 deletions

View File

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