aboutsummaryrefslogtreecommitdiff
path: root/elf/dlvsym.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-02-19 18:52:30 +0000
committerUlrich Drepper <drepper@redhat.com>1998-02-19 18:52:30 +0000
commit03e4219e7783eaa6d5cf1b02a79e00b857185e55 (patch)
tree31f9bb78971ab4f1657fbbd78ced4cd1b6e2a509 /elf/dlvsym.c
parentfb5663ca863c5b970cdb521aa4570ef9f649745b (diff)
downloadglibc-03e4219e7783eaa6d5cf1b02a79e00b857185e55.tar
glibc-03e4219e7783eaa6d5cf1b02a79e00b857185e55.tar.gz
glibc-03e4219e7783eaa6d5cf1b02a79e00b857185e55.tar.bz2
glibc-03e4219e7783eaa6d5cf1b02a79e00b857185e55.zip
Update.
1998-02-19 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition. 1998-02-19 17:16 Ulrich Drepper <drepper@cygnus.com> * libc.map: More reordering for GLIBC_2.1 symbols. 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> * libc.map: Move some functions from version GLIBC_2.0 to GLIBC_2.1, reorder declarations. 1998-02-19 Ulrich Drepper <drepper@cygnus.com> * resolv/gethnamaddr.c (addrsort): Make this function extern. Patch by zab@thebrain.grumblesmurf.net. 1998-02-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> * 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 <drepper@cygnus.com> * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility with 2.0 binaries. Reported by Thorsten Kukuk. 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> * elf/dlvsym.c (dlvsym_doit): Correct last patch. * elf/dlsym.c (dlsym_doit): Likewise. 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> * elf/link.h: Correct typos. * iconv/iconv_prog.c: Correct typo. * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
Diffstat (limited to 'elf/dlvsym.c')
-rw-r--r--elf/dlvsym.c14
1 files changed, 9 insertions, 5 deletions
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
{