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 google/grte/v5-2.27/master updated. glibc-2.27-69-g833c10a


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, google/grte/v5-2.27/master has been updated
       via  833c10ad0059cd1ac72c4d254140fba2a1716b74 (commit)
       via  bfb409aa4e5439403b7b715f8b10bae6ce4772c6 (commit)
      from  58f3bc06905f1dc59740649a62bde39166efe605 (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=833c10ad0059cd1ac72c4d254140fba2a1716b74

commit 833c10ad0059cd1ac72c4d254140fba2a1716b74
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date:   Fri Feb 28 16:51:12 2014 -0800

    Disable static linking warning for dlopen and dlmopen, and disable linking warning for sys_errlist and sys_nerr.

diff --git a/dlfcn/dlmopen.c b/dlfcn/dlmopen.c
index 87ba290..2be1319 100644
--- a/dlfcn/dlmopen.c
+++ b/dlfcn/dlmopen.c
@@ -30,7 +30,9 @@ dlmopen (Lmid_t nsid, const char *file, int mode)
 {
   return __dlmopen (nsid, file, mode, RETURN_ADDRESS (0));
 }
+#if 0  // Google-local
 static_link_warning (dlmopen)
+#endif
 
 #else
 
diff --git a/dlfcn/dlopen.c b/dlfcn/dlopen.c
index 95bc62b..c62ca23 100644
--- a/dlfcn/dlopen.c
+++ b/dlfcn/dlopen.c
@@ -29,7 +29,9 @@ dlopen (const char *file, int mode)
 {
   return __dlopen (file, mode, RETURN_ADDRESS (0));
 }
+#if 0  // Google-local
 static_link_warning (dlopen)
+#endif
 
 #else
 
diff --git a/sysdeps/gnu/errlist-compat.awk b/sysdeps/gnu/errlist-compat.awk
index ba1257f..a33ee50 100644
--- a/sysdeps/gnu/errlist-compat.awk
+++ b/sysdeps/gnu/errlist-compat.awk
@@ -126,8 +126,13 @@ versioned_symbol (libc, __sys_nerr_internal, _sys_nerr, %s);\n", \
     lastv, lastv, lastv, lastv;
 
   print "\n\
+/* Google-local:\n\
+   Disable deprecation warnings; they're emitted even if referenced\n\
+   only by debug info. */\n\
+#if 0\n\
 link_warning (sys_errlist, \"\
 `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead\")\n\
 link_warning (sys_nerr, \"\
-`sys_nerr' is deprecated; use `strerror' or `strerror_r' instead\")";
+`sys_nerr' is deprecated; use `strerror' or `strerror_r' instead\")\n\
+#endif";
 }

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

commit bfb409aa4e5439403b7b715f8b10bae6ce4772c6
Author: Brooks Moses <bmoses@google.com>
Date:   Fri Aug 14 22:32:51 2015 -0700

    Backport cl/98967227 to GRTE glibc 2.19 sources.

diff --git a/elf/link.h b/elf/link.h
index c67a50d..143d584 100644
--- a/elf/link.h
+++ b/elf/link.h
@@ -34,6 +34,8 @@
 #include <bits/elfclass.h>		/* Defines __ELF_NATIVE_CLASS.  */
 #include <bits/link.h>
 
+__BEGIN_DECLS
+
 /* Rendezvous structure used by the run-time dynamic linker to communicate
    details of shared object loading to the debugger.  If the executable's
    dynamic section has a DT_DEBUG element, the run-time linker sets that
@@ -162,8 +164,6 @@ struct dl_phdr_info
     void *dlpi_tls_data;
   };
 
-__BEGIN_DECLS
-
 extern int dl_iterate_phdr (int (*__callback) (struct dl_phdr_info *,
 					       size_t, void *),
 			    void *__data);
@@ -187,8 +187,8 @@ extern uintptr_t la_symbind64 (Elf64_Sym *__sym, unsigned int __ndx,
 			       unsigned int *__flags, const char *__symname);
 extern unsigned int la_objclose (uintptr_t *__cookie);
 
-__END_DECLS
-
 #endif
 
+__END_DECLS
+
 #endif /* link.h */
diff --git a/socket/sys/un.h b/socket/sys/un.h
index efc2194..332ba0e 100644
--- a/socket/sys/un.h
+++ b/socket/sys/un.h
@@ -23,6 +23,11 @@
 /* Get the definition of the macro to define the common sockaddr members.  */
 #include <bits/sockaddr.h>
 
+#ifdef __USE_MISC
+# include <stddef.h>		/* For offsetof.  */
+# include <string.h>		/* For prototype of `strlen'.  */
+#endif
+
 __BEGIN_DECLS
 
 /* Structure describing the address of an AF_LOCAL (aka AF_UNIX) socket.  */
@@ -34,8 +39,6 @@ struct sockaddr_un
 
 
 #ifdef __USE_MISC
-# include <string.h>		/* For prototype of `strlen'.  */
-
 /* Evaluate to actual length of the `sockaddr_un' structure.  */
 # define SUN_LEN(ptr) ((size_t) (((struct sockaddr_un *) 0)->sun_path)	      \
 		      + strlen ((ptr)->sun_path))

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

Summary of changes:
 dlfcn/dlmopen.c                |    2 ++
 dlfcn/dlopen.c                 |    2 ++
 elf/link.h                     |    8 ++++----
 socket/sys/un.h                |    7 +++++--
 sysdeps/gnu/errlist-compat.awk |    7 ++++++-
 5 files changed, 19 insertions(+), 7 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]