about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S
diff options
context:
space:
mode:
authorRajalakshmi Srinivasaraghavan <rajis@linux.ibm.com>2022-12-02 14:26:41 -0600
committerRajalakshmi Srinivasaraghavan <rajis@linux.ibm.com>2022-12-02 14:26:41 -0600
commit2f47198b04a02097f438ecb765306fa39568a006 (patch)
tree321bea5204c5e9b5155392734f62bd1746d7c4cc /sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S
parente5672763c44f16ddbc42809f5def7c6a962602bd (diff)
downloadglibc-2f47198b04a02097f438ecb765306fa39568a006.tar.gz
glibc-2f47198b04a02097f438ecb765306fa39568a006.tar.xz
glibc-2f47198b04a02097f438ecb765306fa39568a006.zip
powerpc64: Remove old strncmp optimization
This patch cleans up the power4 strncmp optimization for powerpc64 which
is unlikely to be used anywhere.

Tested on ppc64le with and without --disable-multi-arch flag.

Reviewed-by: Paul E. Murphy <murphyp@linux.ibm.com>
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S')
-rw-r--r--sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S23
1 files changed, 0 insertions, 23 deletions
diff --git a/sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S b/sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S
deleted file mode 100644
index df6ad6ae9c..0000000000
--- a/sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright (C) 2013-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/>.  */
-
-#define STRNCMP __strncmp_power4
-
-#undef libc_hidden_builtin_def
-#define libc_hidden_builtin_def(name)
-
-#include <sysdeps/powerpc/powerpc64/power4/strncmp.S>