Import ldd patches from Ubuntu source package. This fixes the ability
of ldd to trace dependencies in non-executable dynamic libraries.
(bmoses, google-local)
+
+stdlib/secure-getenv.c
+ Export a __secure_getenv weak symbol for backwards compatibility at link
+ time.
+ (bmoses, google-local)
+
weak_alias (__libc_secure_getenv, secure_getenv)
libc_hidden_weak (__libc_secure_getenv)
-#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_17)
-compat_symbol (libc, __libc_secure_getenv, __secure_getenv, GLIBC_2_0);
-#endif
+/* Google-local: Export __secure_getenv to avoid linker errors during
+ the GRTEv3 to GRTEv4 transition period. */
+//#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_17)
+//compat_symbol (libc, __libc_secure_getenv, __secure_getenv, GLIBC_2_0);
+//#endif
+weak_alias (__libc_secure_getenv, __secure_getenv);