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.26-135-g7550717
- From: hjl at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 19 Aug 2017 23:47:03 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.26-135-g7550717
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 7550717ed747c90afe49fcd590c4acc3ccade56a (commit)
from c181840c93d3a8fcb50991b2326c40f34eb5e82b (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=7550717ed747c90afe49fcd590c4acc3ccade56a
commit 7550717ed747c90afe49fcd590c4acc3ccade56a
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Sat Aug 19 16:46:33 2017 -0700
Mark internal SSE2 functions with attribute_hidden [BZ #18822]
Mark internal SSE2 functions with attribute_hidden to allow direct
access within libc.so and libc.a without using GOT nor PLT.
[BZ #18822]
* sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
attribute_hidden.
(__strspn_sse2): Likewise.
diff --git a/ChangeLog b/ChangeLog
index b7493e0..c650d03 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
+
+ [BZ #18822]
+ * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
+ attribute_hidden.
+ (__strspn_sse2): Likewise.
+
2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
diff --git a/sysdeps/x86_64/multiarch/strcspn-c.c b/sysdeps/x86_64/multiarch/strcspn-c.c
index 67991b5..fc8a2fe 100644
--- a/sysdeps/x86_64/multiarch/strcspn-c.c
+++ b/sysdeps/x86_64/multiarch/strcspn-c.c
@@ -70,7 +70,7 @@ char *
#else
size_t
#endif
-STRCSPN_SSE2 (const char *, const char *);
+STRCSPN_SSE2 (const char *, const char *) attribute_hidden;
#ifdef USE_AS_STRPBRK
diff --git a/sysdeps/x86_64/multiarch/strspn-c.c b/sysdeps/x86_64/multiarch/strspn-c.c
index 1704606..e6bf204 100644
--- a/sysdeps/x86_64/multiarch/strspn-c.c
+++ b/sysdeps/x86_64/multiarch/strspn-c.c
@@ -52,7 +52,7 @@
We exit from the loop for case 1. */
-extern size_t __strspn_sse2 (const char *, const char *);
+extern size_t __strspn_sse2 (const char *, const char *) attribute_hidden;
size_t
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
sysdeps/x86_64/multiarch/strcspn-c.c | 2 +-
sysdeps/x86_64/multiarch/strspn-c.c | 2 +-
3 files changed, 9 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources