This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.19-535-ged36bfa
- From: azanella at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 6 Jun 2014 21:27:07 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.19-535-ged36bfa
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 ed36bfa18faf9be457575568e64b8409e46caa22 (commit)
from fc75bf464d128f6a722d6cca7012c996f1f73425 (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=ed36bfa18faf9be457575568e64b8409e46caa22
commit ed36bfa18faf9be457575568e64b8409e46caa22
Author: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
Date: Fri Jun 6 09:37:07 2014 -0500
PowerPC: Fix optimized strncat strlen call
This patch fixes the optimized ppc64/power7 strncat strlen call for
static build without ifunc enabled. The strlen symbol to call in such
situation is just strlen, instead of __GI_strlen (since the __GI_
alias is just created for shared objects).
diff --git a/ChangeLog b/ChangeLog
index 8fe1ad0..1b1f398 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
+
+ * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
+ strlen for non SHARED builds.
+
2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
* nptl/allocatestack.c (check_list): Inlined function...
diff --git a/sysdeps/powerpc/powerpc64/power7/strncat.S b/sysdeps/powerpc/powerpc64/power7/strncat.S
index e7e36a4..f5ea52d 100644
--- a/sysdeps/powerpc/powerpc64/power7/strncat.S
+++ b/sysdeps/powerpc/powerpc64/power7/strncat.S
@@ -40,7 +40,11 @@
#ifndef STRLEN
/* For builds with no IFUNC support, local calls should be made to internal
GLIBC symbol (created by libc_hidden_builtin_def). */
-# define STRLEN __GI_strlen
+# ifdef SHARED
+# define STRLEN __GI_strlen
+# else
+# define STRLEN strlen
+# endif
#endif
#define FRAMESIZE (FRAME_MIN_SIZE+32)
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
sysdeps/powerpc/powerpc64/power7/strncat.S | 6 +++++-
2 files changed, 10 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources