aboutsummaryrefslogtreecommitdiff
path: root/elf
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
parentf6987f5aa4c2ef7270bcb0a828808bd3db53520b (diff)
downloadglibc-93bad7c97c7047ecaf7664859e2b49c0fe995443.zip
glibc-93bad7c97c7047ecaf7664859e2b49c0fe995443.tar.gz
glibc-93bad7c97c7047ecaf7664859e2b49c0fe995443.tar.bz2
[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')
-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 e7b5110..9bbaa5b 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,
};