diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-02-10 11:31:03 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-02-23 14:18:17 -0300 |
commit | c0d215f162049e7ab8e86e9d2d76c87e41a55ebd (patch) | |
tree | 9dc3e85c6061f9fd4b78acf4a33f7c6cb2df2661 /string | |
parent | f883dbaf1fba5b870331ce980fe2176242bea6f2 (diff) | |
download | glibc-c0d215f162049e7ab8e86e9d2d76c87e41a55ebd.zip glibc-c0d215f162049e7ab8e86e9d2d76c87e41a55ebd.tar.gz glibc-c0d215f162049e7ab8e86e9d2d76c87e41a55ebd.tar.bz2 |
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).
Diffstat (limited to 'string')
-rw-r--r-- | string/bzero.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/string/bzero.c b/string/bzero.c index eb2af49..d8b79df 100644 --- a/string/bzero.c +++ b/string/bzero.c @@ -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 |