From 03e4219e7783eaa6d5cf1b02a79e00b857185e55 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 19 Feb 1998 18:52:30 +0000 Subject: Update. 1998-02-19 Ulrich Drepper * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition. 1998-02-19 17:16 Ulrich Drepper * libc.map: More reordering for GLIBC_2.1 symbols. 1998-02-19 Andreas Jaeger * libc.map: Move some functions from version GLIBC_2.0 to GLIBC_2.1, reorder declarations. 1998-02-19 Ulrich Drepper * resolv/gethnamaddr.c (addrsort): Make this function extern. Patch by zab@thebrain.grumblesmurf.net. 1998-02-19 Thorsten Kukuk * nis/libnsl.map: NIS+ support is new in glibc 2.1, add NIS+ functions with version GLIBC_2.1. 1998-02-19 14:05 Ulrich Drepper * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility with 2.0 binaries. Reported by Thorsten Kukuk. 1998-02-19 Andreas Jaeger * elf/dlvsym.c (dlvsym_doit): Correct last patch. * elf/dlsym.c (dlsym_doit): Likewise. 1998-02-19 Andreas Jaeger * elf/link.h: Correct typos. * iconv/iconv_prog.c: Correct typo. * elf/dl-open.c (_dl_open): Assign correct value to new->l_global. --- elf/dlvsym.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'elf/dlvsym.c') diff --git a/elf/dlvsym.c b/elf/dlvsym.c index b4c4f731e0..bdfb83da59 100644 --- a/elf/dlvsym.c +++ b/elf/dlvsym.c @@ -67,11 +67,15 @@ RTLD_NEXT used in code not dynamically loaded")); while (l->l_loader) l = l->l_loader; - args->loadbase = _dl_lookup_versioned_symbol_skip (args->name, - &args->ref, - mapscope, - NULL, - match); + { + struct link_map *map = l; + struct link_map *mapscope[2] = { map, NULL }; + args->loadbase = _dl_lookup_versioned_symbol_skip (args->name, + &args->ref, + mapscope, + NULL, + match); + } } else { -- cgit v1.2.3