diff options
author | Maciej W. Rozycki <macro@imgtec.com> | 2015-09-25 09:37:12 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@imgtec.com> | 2015-09-25 09:37:12 +0100 |
commit | 93bad7c97c7047ecaf7664859e2b49c0fe995443 (patch) | |
tree | 364e16e863e64d103b323416b49f14294ee8e581 | |
parent | f6987f5aa4c2ef7270bcb0a828808bd3db53520b (diff) | |
download | glibc-93bad7c97c7047ecaf7664859e2b49c0fe995443.tar.gz |
[BZ #17250] Fix static dlopen default library search path
Fix a regression introduced with commit 0d23a5c1 [Static dlopen
correction fallout fixes] that caused the default library search path to
be ignored for modules loaded with dlopen from static executables.
[BZ #17250]
* elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
member.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | NEWS | 12 | ||||
-rw-r--r-- | elf/dl-support.c | 1 |
3 files changed, 12 insertions, 7 deletions
@@ -1,3 +1,9 @@ +2015-09-25 Maciej W. Rozycki <macro@imgtec.com> + + [BZ #17250] + * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1 + member. + 2015-09-24 Joseph Myers <joseph@codesourcery.com> [BZ #18803] @@ -11,12 +11,12 @@ Version 2.23 2542, 2543, 2558, 2898, 4404, 6803, 14341, 14912, 15367, 15384, 15786, 15918, 16141, 16296, 16415, 16517, 16519, 16520, 16521, 16734, 16973, - 16985, 17118, 17243, 17244, 17441, 17787, 17886, 17887, 17905, 18084, - 18086, 18240, 18265, 18370, 18421, 18480, 18525, 18595, 18610, 18618, - 18647, 18661, 18674, 18675, 18681, 18757, 18778, 18781, 18787, 18789, - 18790, 18795, 18796, 18803, 18820, 18823, 18824, 18857, 18863, 18870, - 18872, 18873, 18875, 18887, 18921, 18951, 18952, 18961, 18966, 18967, - 18970, 18977, 18980, 18981, 19003. + 16985, 17118, 17243, 17244, 17250, 17441, 17787, 17886, 17887, 17905, + 18084, 18086, 18240, 18265, 18370, 18421, 18480, 18525, 18595, 18610, + 18618, 18647, 18661, 18674, 18675, 18681, 18757, 18778, 18781, 18787, + 18789, 18790, 18795, 18796, 18803, 18820, 18823, 18824, 18857, 18863, + 18870, 18872, 18873, 18875, 18887, 18921, 18951, 18952, 18961, 18966, + 18967, 18970, 18977, 18980, 18981, 19003. * The obsolete header <regexp.h> has been removed. Programs that require this header must be updated to use <regex.h> instead. diff --git a/elf/dl-support.c b/elf/dl-support.c index e7b5110b59..9bbaa5b2bd 100644 --- a/elf/dl-support.c +++ b/elf/dl-support.c @@ -91,7 +91,6 @@ static struct link_map _dl_main_map = .l_scope = _dl_main_map.l_scope_mem, .l_local_scope = { &_dl_main_map.l_searchlist }, .l_used = 1, - .l_flags_1 = DF_1_NODEFLIB, .l_tls_offset = NO_TLS_OFFSET, .l_serial = 1, }; |