This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.20-228-ge0cfa51
- From: sthibaul at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 23 Nov 2014 19:53:20 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.20-228-ge0cfa51
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 e0cfa51064489fdff85953bad1e0f3c42e093662 (commit)
from 34d97d87bb1c08e34d08a9d4be24a3b1d53a4ddb (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=e0cfa51064489fdff85953bad1e0f3c42e093662
commit e0cfa51064489fdff85953bad1e0f3c42e093662
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sun Nov 23 20:50:24 2014 +0100
hurd: Fix dlopening libraries from static programs
dlopening libraries from a static program would dlopen libc.so,
which thus needs its own initialization, done in posixland_init,
which was missing initializing RPCs so far.
ChangeLog:
2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
* sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
__mach_init in dlopened libc.
diff --git a/ChangeLog b/ChangeLog
index 0279091..0bde88c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+ * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
+ __mach_init in dlopened libc.
+
2014-11-22 Mike Frysinger <vapier@gentoo.org>
* sysdeps/arm/preconfigure.ac: Delete EABI check.
diff --git a/sysdeps/mach/hurd/i386/init-first.c b/sysdeps/mach/hurd/i386/init-first.c
index fc355ed..3bcffd9 100644
--- a/sysdeps/mach/hurd/i386/init-first.c
+++ b/sysdeps/mach/hurd/i386/init-first.c
@@ -72,6 +72,11 @@ posixland_init (int argc, char **argv, char **envp)
/* Set the FPU control word to the proper default value. */
__setfpucw (__fpu_control);
}
+ else
+ {
+ /* Initialize data structures so the additional libc can do RPCs. */
+ __mach_init ();
+ }
/* Save the command-line arguments. */
__libc_argc = argc;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
sysdeps/mach/hurd/i386/init-first.c | 5 +++++
2 files changed, 10 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources