public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] powerpc64: Remove strcspn ifunc from the loader
@ 2021-07-09  1:01 Tulio Magno Quites Machado Filho
  0 siblings, 0 replies; only message in thread
From: Tulio Magno Quites Machado Filho @ 2021-07-09  1:01 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=20f0491c675c19add0b4f44fce960d65eb44ef9b

commit 20f0491c675c19add0b4f44fce960d65eb44ef9b
Author: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Date:   Fri Jul 2 15:42:31 2021 -0300

    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>

Diff:
---
 sysdeps/powerpc/powerpc64/multiarch/rtld-strcspn.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

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>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-09  1:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-09  1:01 [glibc] powerpc64: Remove strcspn ifunc from the loader Tulio Magno Quites Machado Filho

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).