From c0d215f162049e7ab8e86e9d2d76c87e41a55ebd Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Thu, 10 Feb 2022 11:31:03 -0300 Subject: 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). --- string/bzero.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'string') diff --git a/string/bzero.c b/string/bzero.c index eb2af49e9e..d8b79df1c7 100644 --- a/string/bzero.c +++ b/string/bzero.c @@ -17,12 +17,12 @@ #include -#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 -- cgit v1.2.3-70-g09d2