This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.25-366-g9c450f6


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  9c450f6f6f0e2089b780d0510ae6153740fc7d1d (commit)
      from  7c1d722554dc3422295a36da631e03503b676935 (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=9c450f6f6f0e2089b780d0510ae6153740fc7d1d

commit 9c450f6f6f0e2089b780d0510ae6153740fc7d1d
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed May 24 06:31:16 2017 -0700

    x86: Don't include cacheinfo.c in ld.so
    
    Since cacheinfo.c isn't used by ld.so, there is no need to include it
    in ld.so.
    
    	* sysdeps/x86/cacheinfo.c: Skip if not in libc.

diff --git a/ChangeLog b/ChangeLog
index 80a6c3e..4abd668 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
 
+	* sysdeps/x86/cacheinfo.c: Skip if not in libc.
+
+2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
+
 	* sysdeps/x86/cacheinfo.c (is_intel): Removed.
 	(is_amd): Likewise.
 	(max_cpuid): Likewise.
diff --git a/sysdeps/x86/cacheinfo.c b/sysdeps/x86/cacheinfo.c
index 4594a2f..12ffeef 100644
--- a/sysdeps/x86/cacheinfo.c
+++ b/sysdeps/x86/cacheinfo.c
@@ -16,6 +16,8 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#if IS_IN (libc)
+
 #include <assert.h>
 #include <stdbool.h>
 #include <stdlib.h>
@@ -768,3 +770,5 @@ intel_bug_no_cache_info:
      store becomes faster.  */
   __x86_shared_non_temporal_threshold = __x86_shared_cache_size * 6;
 }
+
+#endif

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog               |    4 ++++
 sysdeps/x86/cacheinfo.c |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]