about summary refs log tree commit diff
path: root/sysdeps/sparc/sparc64/multiarch/bzero.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-02-10 12:51:24 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-02-23 14:18:18 -0300
commita61933fe27dff18f274b39f46dde7e739696d4cb (patch)
tree784fe0126badb70d36a09772bceee7167e9e7eeb /sysdeps/sparc/sparc64/multiarch/bzero.c
parentc0d215f162049e7ab8e86e9d2d76c87e41a55ebd (diff)
downloadglibc-a61933fe27dff18f274b39f46dde7e739696d4cb.tar.gz
glibc-a61933fe27dff18f274b39f46dde7e739696d4cb.tar.xz
glibc-a61933fe27dff18f274b39f46dde7e739696d4cb.zip
sparc: Remove bzero optimization
The symbol is not present in current POSIX specification and compiler
already generates memset call.
Diffstat (limited to 'sysdeps/sparc/sparc64/multiarch/bzero.c')
-rw-r--r--sysdeps/sparc/sparc64/multiarch/bzero.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/sysdeps/sparc/sparc64/multiarch/bzero.c b/sysdeps/sparc/sparc64/multiarch/bzero.c
deleted file mode 100644
index 409d66a864..0000000000
--- a/sysdeps/sparc/sparc64/multiarch/bzero.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/* Multiple versions of bzero.  SPARC64/Linux version.
-   All versions must be listed in ifunc-impl-list.c.
-   Copyright (C) 2017-2022 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
-
-   The GNU C Library is free software; you can redistribute it and/or
-   modify it under the terms of the GNU Lesser General Public
-   License as published by the Free Software Foundation; either
-   version 2.1 of the License, or (at your option) any later version.
-
-   The GNU C Library is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-   Lesser General Public License for more details.
-
-   You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, see
-   <https://www.gnu.org/licenses/>.  */
-
-#if IS_IN (libc)
-# define bzero __redirect_bzero
-# include <string.h>
-# undef bzero
-
-# include <sparc-ifunc.h>
-
-# define SYMBOL_NAME bzero
-# include "ifunc-memset.h"
-
-sparc_libc_ifunc_redirected (__redirect_bzero, __bzero, IFUNC_SELECTOR)
-weak_alias (__bzero, bzero)
-
-#endif