GNU C Library master sources branch master updated. glibc-2.28.9000-564-g008b598
tuliom@sourceware.org
tuliom@sourceware.org
Wed Jan 16 16:03:00 GMT 2019
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 008b598e2a495024f9777006716cfd8668f3db33 (commit)
from fbbc9a4e347dabb2d1662744e6a2e83b569ea3a4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=008b598e2a495024f9777006716cfd8668f3db33
commit 008b598e2a495024f9777006716cfd8668f3db33
Author: Paul Clarke <pc@us.ibm.com>
Date: Tue Jan 15 12:42:58 2019 -0600
powerpc: Fix tiny bug in strncmp.c
A single underscore was omitted in
sysdeps/powerpc/powerpc64/multiarch/strncmp.c, resulting in use of
power8 version of strncmp instead of power9 version, with significant
performance degradation.
* sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
diff --git a/ChangeLog b/ChangeLog
index 7cc7916..4c34d45 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-01-16 Paul A. Clarke <pc@us.ibm.com>
+
+ * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
+
2019-01-16 Zack Weinberg <zackw@panix.com>
* support/xsignal.h (xalloc_sigstack, xfree_sigstack)
diff --git a/sysdeps/powerpc/powerpc64/multiarch/strncmp.c b/sysdeps/powerpc/powerpc64/multiarch/strncmp.c
index ab7379d..d2791ce 100644
--- a/sysdeps/powerpc/powerpc64/multiarch/strncmp.c
+++ b/sysdeps/powerpc/powerpc64/multiarch/strncmp.c
@@ -37,7 +37,7 @@ extern __typeof (strncmp) __strncmp_power9 attribute_hidden;
/* Avoid DWARF definition DIE on ifunc symbol so that GDB can handle
ifunc symbol properly. */
libc_ifunc_redirected (__redirect_strncmp, strncmp,
-# ifdef __LITTLE_ENDIAN_
+# ifdef __LITTLE_ENDIAN__
(hwcap2 & PPC_FEATURE2_ARCH_3_00)
? __strncmp_power9 :
# endif
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
sysdeps/powerpc/powerpc64/multiarch/strncmp.c | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources
More information about the Glibc-cvs
mailing list