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-371-g81efada


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  81efada5287c3215307623e57d3bbbeefa0c1250 (commit)
      from  ee8015b9ea084d5727ce477fdd8d935f1de7f7f6 (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=81efada5287c3215307623e57d3bbbeefa0c1250

commit 81efada5287c3215307623e57d3bbbeefa0c1250
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu May 25 06:55:42 2017 -0700

    Make __tunables_init hidden and avoid PLT
    
    Since __tunables_init is internal to ld.so, we should mark it hidden
    to avoid PLT.  We should also avoid PLT when calling __tunable_set_val
    within ld.so.
    
    2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
    	     H.J. Lu  <hongjiu.lu@intel.com>
    
    	* elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
    	* elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
    	(__tunable_set_val): Likewise.

diff --git a/ChangeLog b/ChangeLog
index b0c2047..baf2102 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
+	     H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
+	* elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
+	(__tunable_set_val): Likewise.
+
 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
diff --git a/elf/dl-tunables.c b/elf/dl-tunables.c
index 8d72e26..b6e6b3d 100644
--- a/elf/dl-tunables.c
+++ b/elf/dl-tunables.c
@@ -470,3 +470,5 @@ cb:
   if (callback)
     callback (&cur->val);
 }
+
+rtld_hidden_def (__tunable_set_val)
diff --git a/elf/dl-tunables.h b/elf/dl-tunables.h
index f33adfb..20ee512 100644
--- a/elf/dl-tunables.h
+++ b/elf/dl-tunables.h
@@ -69,6 +69,9 @@ typedef struct _tunable tunable_t;
 extern void __tunables_init (char **);
 extern void __tunable_set_val (tunable_id_t, void *, tunable_callback_t);
 
+rtld_hidden_proto (__tunables_init)
+rtld_hidden_proto (__tunable_set_val)
+
 /* Check if the tunable has been set to a non-default value and if it is, copy
    it over into __VAL.  */
 # define TUNABLE_SET_VAL(__id,__val) \

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

Summary of changes:
 ChangeLog         |    7 +++++++
 elf/dl-tunables.c |    2 ++
 elf/dl-tunables.h |    3 +++
 3 files changed, 12 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]