about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc32/bzero.S
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-02-10 13:58:34 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-02-23 14:18:18 -0300
commit68122d8a0476a40cdeff7339d7611bc1759e518d (patch)
treedd31ac3a049d3f09d3b66e0a980941ac8b4a253b /sysdeps/powerpc/powerpc32/bzero.S
parenta61933fe27dff18f274b39f46dde7e739696d4cb (diff)
downloadglibc-68122d8a0476a40cdeff7339d7611bc1759e518d.tar.gz
glibc-68122d8a0476a40cdeff7339d7611bc1759e518d.tar.xz
glibc-68122d8a0476a40cdeff7339d7611bc1759e518d.zip
powerpc: Remove powerpc32 bzero optimizations
The symbol is not present in current POSIX specification and compiler
already generates memset call.
Diffstat (limited to 'sysdeps/powerpc/powerpc32/bzero.S')
-rw-r--r--sysdeps/powerpc/powerpc32/bzero.S27
1 files changed, 0 insertions, 27 deletions
diff --git a/sysdeps/powerpc/powerpc32/bzero.S b/sysdeps/powerpc/powerpc32/bzero.S
deleted file mode 100644
index 9cc03c92df..0000000000
--- a/sysdeps/powerpc/powerpc32/bzero.S
+++ /dev/null
@@ -1,27 +0,0 @@
-/* Optimized bzero `implementation' for PowerPC.
-   Copyright (C) 1997-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/>.  */
-
-#include <sysdep.h>
-
-ENTRY (__bzero)
-
-	mr	r5,r4
-	li	r4,0
-	b	memset@local
-END (__bzero)
-weak_alias (__bzero, bzero)