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/dlsym.c | 1 + elf/dlvsym.c | 14 +++++++++----- elf/link.h | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) (limited to 'elf') diff --git a/elf/dlsym.c b/elf/dlsym.c index 562df42b34..3a4bd4ae69 100644 --- a/elf/dlsym.c +++ b/elf/dlsym.c @@ -70,6 +70,7 @@ RTLD_NEXT used in code not dynamically loaded")); struct link_map *mapscope[2] = { map, NULL }; args->loadbase = _dl_lookup_symbol_skip (args->name, &args->ref, mapscope, NULL, match); + } } else { 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 { diff --git a/elf/link.h b/elf/link.h index 67701a13b7..90cda5e810 100644 --- a/elf/link.h +++ b/elf/link.h @@ -455,7 +455,7 @@ extern void _dl_start_profile (struct link_map *map, const char *output_dir); extern void _dl_mcount (ElfW(Addr) frompc, ElfW(Addr) selfpc); -/* Show the member of the auxiliry aray passed up from the kernel. */ +/* Show the members of the auxiliry aray passed up from the kernel. */ extern void _dl_show_auxv (void); __END_DECLS -- cgit 1.4.1