summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-06-05 04:03:34 +0000
committerRoland McGrath <roland@gnu.org>1996-06-05 04:03:34 +0000
commit1c384dcd5f689738952f3dc7d8f0224894c8a4ba (patch)
tree0256dab2a56fbdba5096ec2b4ab6d75439cb4190
parent58e071515a45fb23bad4298512bb2951fe41dbc5 (diff)
downloadglibc-1c384dcd5f689738952f3dc7d8f0224894c8a4ba.tar.gz
glibc-1c384dcd5f689738952f3dc7d8f0224894c8a4ba.tar.xz
glibc-1c384dcd5f689738952f3dc7d8f0224894c8a4ba.zip
Wed Jun 5 00:01:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
	* elf/dl-lookup.c (_dl_lookup_symbol): Fix typos in last change.
	Comment out ref to nonexistent _dl_close.
-rw-r--r--ChangeLog5
-rw-r--r--elf/dl-lookup.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 336cb921fd..e91beb0942 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jun  5 00:01:19 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
+
+	* elf/dl-lookup.c (_dl_lookup_symbol): Fix typos in last change.
+	Comment out ref to nonexistent _dl_close.
+
 Tue Jun  4 21:01:20 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
 
 	* math/Makefile (libm-support, libm-calls): New variables.
diff --git a/elf/dl-lookup.c b/elf/dl-lookup.c
index b2e9bff984..104963987b 100644
--- a/elf/dl-lookup.c
+++ b/elf/dl-lookup.c
@@ -125,14 +125,14 @@ _dl_lookup_symbol (const char *undef_name, const Elf32_Sym **ref,
       static struct magic magic[] =
 	{
 	  { 0xd6a2a5e, "_GNU_libc_dl_open", (Elf32_Addr) &_dl_open },
-	  { 0x69ef845, "_GNU_libc_dl_close", (Elf32_Addr) &_dl_close },
+/*	  { 0x69ef845, "_GNU_libc_dl_close", (Elf32_Addr) &_dl_close },*/
 	  { 0xae4d63c, "_GNU_libc_dl_symbol", (Elf32_Addr) &_dl_symbol_value },
 	  { 0, NULL, 0 }
 	};
       struct magic *m;
 
       for (m = magic; m->hash; ++m)
-	if (hash == m->hash && !strcmp (name, m->name))
+	if (hash == m->hash && !strcmp (undef_name, m->name))
 	  return m->value;
 
       {