about summary refs log tree commit diff
path: root/elf
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
parentfb5663ca863c5b970cdb521aa4570ef9f649745b (diff)
downloadglibc-03e4219e7783eaa6d5cf1b02a79e00b857185e55.tar.gz
glibc-03e4219e7783eaa6d5cf1b02a79e00b857185e55.tar.xz
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')
-rw-r--r--elf/dlsym.c1
-rw-r--r--elf/dlvsym.c14
-rw-r--r--elf/link.h2
3 files changed, 11 insertions, 6 deletions
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