mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
* elf/dl-open.c (_dl_open): Bump GL(dl_nns) to 1 if no libraries
are dlopened in statically linked program even for __LM_ID_CALLER. 2009-04-16 Jakub Jelinek <jakub@redhat.com> * elf/dl-open.c (_dl_open): Bump GL(dl_nns) to 1 if no libraries are dlopened in statically linked program even for __LM_ID_CALLER.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2009-04-16 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* elf/dl-open.c (_dl_open): Bump GL(dl_nns) to 1 if no libraries
|
||||||
|
are dlopened in statically linked program even for __LM_ID_CALLER.
|
||||||
|
|
||||||
2009-04-16 Ulrich Drepper <drepper@redhat.com>
|
2009-04-16 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* resolv/res_send.c (send_dg): Don't switch into single-request
|
* resolv/res_send.c (send_dg): Don't switch into single-request
|
||||||
|
@@ -580,7 +580,8 @@ no more namespaces available for dlmopen()"));
|
|||||||
_dl_signal_error (EINVAL, file, NULL,
|
_dl_signal_error (EINVAL, file, NULL,
|
||||||
N_("invalid target namespace in dlmopen()"));
|
N_("invalid target namespace in dlmopen()"));
|
||||||
#ifndef SHARED
|
#ifndef SHARED
|
||||||
else if (nsid == LM_ID_BASE && GL(dl_ns)[LM_ID_BASE]._ns_loaded == NULL
|
else if ((nsid == LM_ID_BASE || nsid == __LM_ID_CALLER)
|
||||||
|
&& GL(dl_ns)[LM_ID_BASE]._ns_loaded == NULL
|
||||||
&& GL(dl_nns) == 0)
|
&& GL(dl_nns) == 0)
|
||||||
GL(dl_nns) = 1;
|
GL(dl_nns) = 1;
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user