summary refs log tree commit diff
path: root/elf/dl-support.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@imgtec.com>2015-09-25 09:37:12 +0100
committerMaciej W. Rozycki <macro@imgtec.com>2015-09-25 09:37:12 +0100
commit93bad7c97c7047ecaf7664859e2b49c0fe995443 (patch)
tree364e16e863e64d103b323416b49f14294ee8e581 /elf/dl-support.c
parentf6987f5aa4c2ef7270bcb0a828808bd3db53520b (diff)
downloadglibc-93bad7c97c7047ecaf7664859e2b49c0fe995443.tar.gz
glibc-93bad7c97c7047ecaf7664859e2b49c0fe995443.tar.xz
glibc-93bad7c97c7047ecaf7664859e2b49c0fe995443.zip
[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.
Diffstat (limited to 'elf/dl-support.c')
-rw-r--r--elf/dl-support.c1
1 files changed, 0 insertions, 1 deletions
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,
   };