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.16-ports-merge-228-g493387d


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  493387d21f8c1ca8d1dafd7d19d845780f5f2b0c (commit)
      from  a277af22ea038ff963355b603ade8d0a8a98eb5d (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://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=493387d21f8c1ca8d1dafd7d19d845780f5f2b0c

commit 493387d21f8c1ca8d1dafd7d19d845780f5f2b0c
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Sat Aug 18 00:37:30 2012 -0400

    add attribute_hidden to __have_{sock_cloexec,pipe2,dup3
    
    These internal knobs are not exposed as part of the public ABI, so mark
    them hidden to avoid generating relocations against them.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

diff --git a/ChangeLog b/ChangeLog
index 206206a..9e4e98b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
 
+	* include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
+	* include/unistd.h (__have_sock_cloexec): Likewise.
+	(__have_pipe2): Likewise.
+	(__have_dup3): Likewise.
+
+2012-08-18  Mike Frysinger  <vapier@gentoo.org>
+
 	[BZ #9685]
 	* include/unistd.h (__have_pipe2): Change define into an extern int.
 	(__have_dup3): Likewise.
diff --git a/include/sys/socket.h b/include/sys/socket.h
index 50e6bb3..ec08857 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -148,7 +148,7 @@ libc_hidden_proto (__libc_sa_len)
 #endif
 
 #ifdef SOCK_CLOEXEC
-extern int __have_sock_cloexec;
+extern int __have_sock_cloexec attribute_hidden;
 /* At lot of other functionality became available at the same time as
    SOCK_CLOEXEC.  Avoid defining separate variables for all of them
    unless it is really necessary.  */
diff --git a/include/unistd.h b/include/unistd.h
index 9d74fb4..a5cbc5d 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -173,9 +173,9 @@ extern int __libc_pause (void);
 /* Not cancelable variant.  */
 extern int __pause_nocancel (void) attribute_hidden;
 
-extern int __have_sock_cloexec;
-extern int __have_pipe2;
-extern int __have_dup3;
+extern int __have_sock_cloexec attribute_hidden;
+extern int __have_pipe2 attribute_hidden;
+extern int __have_dup3 attribute_hidden;
 
 extern int __getlogin_r_loginuid (char *name, size_t namesize)
      attribute_hidden;

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

Summary of changes:
 ChangeLog            |    7 +++++++
 include/sys/socket.h |    2 +-
 include/unistd.h     |    6 +++---
 3 files changed, 11 insertions(+), 4 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]