GNU C Library master sources branch master updated. glibc-2.22-403-gf841146

hjl@sourceware.org hjl@sourceware.org
Thu Oct 15 21:32:00 GMT 2015


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  f84114688abe316b6a736302a7c13f4883d41f13 (commit)
       via  f3fc94c04f72e492f55be4349c6df2a910762b70 (commit)
       via  bdcd03eaca8133b20a8b9a60403915902c1792a5 (commit)
       via  661462d58f90c03765a8799714a9ea485d3b1935 (commit)
       via  e19f02428bacdf7565cb4e61a363c61501ce6870 (commit)
      from  6d56699d7e808419ccf244150ecba122156932ba (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=f84114688abe316b6a736302a7c13f4883d41f13

commit f84114688abe316b6a736302a7c13f4883d41f13
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Oct 15 14:25:45 2015 -0700

    Mark ld.so internel string functions hidden
    
    Since ld.so internel string functions are only used internally in
    ld.so, they can be made hidden.
    
    	[BZ #19122]
    	* include/string.h [IS_IN (rtld)] (__stpcpy): Add
    	attribute_hidden.
    	[IS_IN (rtld)] (__strdup): Likewise.
    	[IS_IN (rtld)] (__strerror_r): Likewise.
    	[IS_IN (rtld)] (__strsep_g): Likewise.
    	[IS_IN (rtld)] (memchr): Likewise.
    	[IS_IN (rtld)] (memcmp): Likewise.
    	[IS_IN (rtld)] (memcpy): Likewise.
    	[IS_IN (rtld)] (memmove): Likewise.
    	[IS_IN (rtld)] (memset): Likewise.
    	[IS_IN (rtld)] (rawmemchr): Likewise.
    	[IS_IN (rtld)] (stpcpy): Likewise.
    	[IS_IN (rtld)] (strchr): Likewise.
    	[IS_IN (rtld)] (strcmp): Likewise.
    	[IS_IN (rtld)] (strlen): Likewise.
    	[IS_IN (rtld)] (strnlen): Likewise.
    	[IS_IN (rtld)] (strsep): Likewise.

diff --git a/ChangeLog b/ChangeLog
index bdb44a2..bca8f9e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,24 @@
 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
 
 	[BZ #19122]
+	* include/string.h [IS_IN (rtld)] (__stpcpy): Add
+	attribute_hidden.
+	[IS_IN (rtld)] (__strdup): Likewise.
+	[IS_IN (rtld)] (__strerror_r): Likewise.
+	[IS_IN (rtld)] (__strsep_g): Likewise.
+	[IS_IN (rtld)] (memchr): Likewise.
+	[IS_IN (rtld)] (memcmp): Likewise.
+	[IS_IN (rtld)] (memcpy): Likewise.
+	[IS_IN (rtld)] (memmove): Likewise.
+	[IS_IN (rtld)] (memset): Likewise.
+	[IS_IN (rtld)] (rawmemchr): Likewise.
+	[IS_IN (rtld)] (stpcpy): Likewise.
+	[IS_IN (rtld)] (strchr): Likewise.
+	[IS_IN (rtld)] (strcmp): Likewise.
+	[IS_IN (rtld)] (strlen): Likewise.
+	[IS_IN (rtld)] (strnlen): Likewise.
+	[IS_IN (rtld)] (strsep): Likewise.
+
 	* include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
 	attribute_hidden.
 	[IS_IN (rtld)] (__strtoul_internal): Likewise.
diff --git a/include/string.h b/include/string.h
index c57671e..a684fd9 100644
--- a/include/string.h
+++ b/include/string.h
@@ -118,6 +118,26 @@ libc_hidden_builtin_proto (strspn)
 libc_hidden_builtin_proto (strstr)
 libc_hidden_builtin_proto (ffs)
 
+#if IS_IN (rtld)
+extern __typeof (__stpcpy) __stpcpy attribute_hidden;
+extern __typeof (__strdup) __strdup attribute_hidden;
+extern __typeof (__strerror_r) __strerror_r attribute_hidden;
+extern __typeof (__strsep_g) __strsep_g attribute_hidden;
+
+extern __typeof (memchr) memchr attribute_hidden;
+extern __typeof (memcmp) memcmp attribute_hidden;
+extern __typeof (memcpy) memcpy attribute_hidden;
+extern __typeof (memmove) memmove attribute_hidden;
+extern __typeof (memset) memset attribute_hidden;
+extern __typeof (rawmemchr) rawmemchr attribute_hidden;
+extern __typeof (stpcpy) stpcpy attribute_hidden;
+extern __typeof (strchr) strchr attribute_hidden;
+extern __typeof (strcmp) strcmp attribute_hidden;
+extern __typeof (strlen) strlen attribute_hidden;
+extern __typeof (strnlen) strnlen attribute_hidden;
+extern __typeof (strsep) strsep attribute_hidden;
+#endif
+
 #if (!IS_IN (libc) || !defined SHARED) \
   && !defined NO_MEMPCPY_STPCPY_REDIRECT
 /* Redirect calls to __builtin_mempcpy and __builtin_stpcpy to call

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=f3fc94c04f72e492f55be4349c6df2a910762b70

commit f3fc94c04f72e492f55be4349c6df2a910762b70
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Oct 15 14:24:20 2015 -0700

    Mark ld.so internel stdlib functions hidden
    
    Since ld.so internel stdlib functions are only used internally in
    ld.so, they can be made hidden.
    
    	[BZ #19122]
    	* include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
    	attribute_hidden.
    	[IS_IN (rtld)] (__strtoul_internal): Likewise.

diff --git a/ChangeLog b/ChangeLog
index 1153608..bdb44a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
 
 	[BZ #19122]
+	* include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
+	attribute_hidden.
+	[IS_IN (rtld)] (__strtoul_internal): Likewise.
+
 	* include/signal.h [IS_IN (rtld)] (__sigaction): Add
 	attribute_hidden.
 	[IS_IN (rtld)] (__libc_sigaction): Likewise.
diff --git a/include/stdlib.h b/include/stdlib.h
index 992b877..dcb83a5 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -242,6 +242,11 @@ struct abort_msg_s
 extern struct abort_msg_s *__abort_msg;
 libc_hidden_proto (__abort_msg)
 
+# if IS_IN (rtld)
+extern __typeof (unsetenv) unsetenv attribute_hidden;
+extern __typeof (__strtoul_internal) __strtoul_internal attribute_hidden;
+# endif
+
 __END_DECLS
 
 #endif

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=bdcd03eaca8133b20a8b9a60403915902c1792a5

commit bdcd03eaca8133b20a8b9a60403915902c1792a5
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Oct 15 14:23:09 2015 -0700

    Mark ld.so internel sigaction functions hidden
    
    Since ld.so internel sigaction functions are only used internally in
    ld.so, they can be made hidden.
    
    	[BZ #19122]
    	* include/signal.h [IS_IN (rtld)] (__sigaction): Add
    	attribute_hidden.
    	[IS_IN (rtld)] (__libc_sigaction): Likewise.

diff --git a/ChangeLog b/ChangeLog
index 94869bc..1153608 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
 
 	[BZ #19122]
+	* include/signal.h [IS_IN (rtld)] (__sigaction): Add
+	attribute_hidden.
+	[IS_IN (rtld)] (__libc_sigaction): Likewise.
+
 	* include/setjmp.h (__longjmp): Add attribute_hidden.
 	[IS_IN (rtld)] (__sigsetjmp): Likewise.
 
diff --git a/include/signal.h b/include/signal.h
index b69de03..276a99d 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -61,6 +61,11 @@ extern int __xpg_sigpause (int sig);
 
 /* Allocate real-time signal with highest/lowest available priority.  */
 extern int __libc_allocate_rtsig (int __high);
+
+#  if IS_IN (rtld)
+extern __typeof (__sigaction) __sigaction attribute_hidden;
+extern __typeof (__libc_sigaction) __libc_sigaction attribute_hidden;
+#  endif
 # endif
 #endif
 #endif

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=661462d58f90c03765a8799714a9ea485d3b1935

commit 661462d58f90c03765a8799714a9ea485d3b1935
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Oct 15 14:22:10 2015 -0700

    Mark internal setjmp functions hidden
    
    Since internal dirent functions are only used internally in ld.so and
    libc.so, they can be made hidden.
    
    	[BZ #19122]
    	* include/setjmp.h (__longjmp): Add attribute_hidden.
    	[IS_IN (rtld)] (__sigsetjmp): Likewise.

diff --git a/ChangeLog b/ChangeLog
index 3dba8b3..94869bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
 
 	[BZ #19122]
+	* include/setjmp.h (__longjmp): Add attribute_hidden.
+	[IS_IN (rtld)] (__sigsetjmp): Likewise.
+
 	* include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
 	Add attribute_hidden.
 
diff --git a/include/setjmp.h b/include/setjmp.h
index 622bb31..90f4697 100644
--- a/include/setjmp.h
+++ b/include/setjmp.h
@@ -6,7 +6,7 @@
 
 /* Internal machine-dependent function to restore context sans signal mask.  */
 extern void __longjmp (__jmp_buf __env, int __val)
-     __attribute__ ((__noreturn__));
+     __attribute__ ((__noreturn__)) attribute_hidden;
 
 /* Internal function to possibly save the current mask of blocked signals
    in ENV, and always set the flag saying whether or not it was saved.
@@ -24,6 +24,10 @@ libc_hidden_proto (__libc_longjmp)
 
 libc_hidden_proto (_setjmp)
 libc_hidden_proto (__sigsetjmp)
+
+# if IS_IN (rtld)
+extern __typeof (__sigsetjmp) __sigsetjmp attribute_hidden;
+# endif
 #endif
 
 #endif

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=e19f02428bacdf7565cb4e61a363c61501ce6870

commit e19f02428bacdf7565cb4e61a363c61501ce6870
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Oct 15 14:20:43 2015 -0700

    Mark ld.so internel __profile_frequency hidden
    
    Since ld.so internel __profile_frequency is only used internally in
    ld.so, it can be made hidden.
    
    	[BZ #19122]
    	* include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
    	Add attribute_hidden.

diff --git a/ChangeLog b/ChangeLog
index 338608b..3dba8b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
 
 	[BZ #19122]
+	* include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
+	Add attribute_hidden.
+
 	* include/fcntl.h (__libc_fcntl): Add attribute_hidden.
 	[IS_IN (rtld)] (__open): Likewise.
 	[IS_IN (rtld)] (__fcntl): Likewise.
diff --git a/include/libc-internal.h b/include/libc-internal.h
index b37388e..65a2a56 100644
--- a/include/libc-internal.h
+++ b/include/libc-internal.h
@@ -34,6 +34,10 @@ extern void __libc_thread_freeres (void);
 /* Define and initialize `__progname' et. al.  */
 extern void __init_misc (int, char **, char **);
 
+# if IS_IN (rtld)
+extern __typeof (__profile_frequency) __profile_frequency attribute_hidden;
+# endif
+
 /* 1 if 'type' is a pointer type, 0 otherwise.  */
 # define __pointer_type(type) (__builtin_classify_type ((type) 0) == 5)
 

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

Summary of changes:
 ChangeLog               |   32 ++++++++++++++++++++++++++++++++
 include/libc-internal.h |    4 ++++
 include/setjmp.h        |    6 +++++-
 include/signal.h        |    5 +++++
 include/stdlib.h        |    5 +++++
 include/string.h        |   20 ++++++++++++++++++++
 6 files changed, 71 insertions(+), 1 deletions(-)


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



More information about the Glibc-cvs mailing list