summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc64
diff options
context:
space:
mode:
authorTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>2021-07-02 15:42:31 -0300
committerTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>2021-07-08 21:59:28 -0300
commit20f0491c675c19add0b4f44fce960d65eb44ef9b (patch)
treef4aa1cecf3faa726a46425b57ca4606bb637db2a /sysdeps/powerpc/powerpc64
parent0679442defedf7e52a94264975880ab8674736b2 (diff)
downloadglibc-20f0491c675c19add0b4f44fce960d65eb44ef9b.tar.gz
glibc-20f0491c675c19add0b4f44fce960d65eb44ef9b.tar.xz
glibc-20f0491c675c19add0b4f44fce960d65eb44ef9b.zip
powerpc64: Remove strcspn ifunc from the loader
5 years ago, commit 8f1b841e452dbb083112fd036033b7f4af506ba0
unintentionally added an ifunc to the loader.
That modification has not caused any harm so far, but it doesn't add any
value either, because the hwcap information is available later during
libc initialization.

Suggested-by: Anton Blanchard <anton@ozlabs.org>
Diffstat (limited to 'sysdeps/powerpc/powerpc64')
-rw-r--r--sysdeps/powerpc/powerpc64/multiarch/rtld-strcspn.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/sysdeps/powerpc/powerpc64/multiarch/rtld-strcspn.c b/sysdeps/powerpc/powerpc64/multiarch/rtld-strcspn.c
new file mode 100644
index 0000000000..fcb9682e58
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64/multiarch/rtld-strcspn.c
@@ -0,0 +1,18 @@
+/* Copyright (C) 2021 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 <string/strcspn.c>