summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-02-26 20:45:55 +0000
committerUlrich Drepper <drepper@redhat.com>2006-02-26 20:45:55 +0000
commit74c5693b2e5475585ccaba8deadf8ca3b58a330a (patch)
tree0c18c16c74005164a8215768fcc838a14e1765c9 /elf
parent1d62ae8a22d409917e29270a5e9bc900035c0930 (diff)
downloadglibc-74c5693b2e5475585ccaba8deadf8ca3b58a330a.tar.gz
glibc-74c5693b2e5475585ccaba8deadf8ca3b58a330a.tar.xz
glibc-74c5693b2e5475585ccaba8deadf8ca3b58a330a.zip
(do_sym): For RTLD_NEXT, pass MATCH for dl_lookup_symbol_x, not L.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-sym.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-sym.c b/elf/dl-sym.c
index ca83daf21d..40df7f0078 100644
--- a/elf/dl-sym.c
+++ b/elf/dl-sym.c
@@ -103,7 +103,7 @@ RTLD_NEXT used in code not dynamically loaded"));
       while (l->l_loader != NULL)
 	l = l->l_loader;
 
-      result = GLRO(dl_lookup_symbol_x) (name, l, &ref, l->l_local_scope,
+      result = GLRO(dl_lookup_symbol_x) (name, match, &ref, l->l_local_scope,
 					 vers, 0, 0, match);
     }
   else