aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@imgtec.com>2015-09-25 09:37:12 +0100
committerMike Frysinger <vapier@gentoo.org>2015-09-26 14:18:51 -0400
commitadf228f91c11a1bcdf7563d104a2a370d054e482 (patch)
treeff1f89e82fd12274da6e7713b1151cb6f45fe2a9
parentca6a9ce6151759981cc2efd58e053148c7db2fea (diff)
downloadglibc-adf228f91c11a1bcdf7563d104a2a370d054e482.tar
glibc-adf228f91c11a1bcdf7563d104a2a370d054e482.tar.gz
glibc-adf228f91c11a1bcdf7563d104a2a370d054e482.tar.bz2
glibc-adf228f91c11a1bcdf7563d104a2a370d054e482.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. (cherry picked from commit 93bad7c97c7047ecaf7664859e2b49c0fe995443)
-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 4d036f12dd..835dcb3417 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,
};