summary refs log tree commit diff
path: root/elf/dlsym.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-07-10 09:40:15 +0000
committerRoland McGrath <roland@gnu.org>1995-07-10 09:40:15 +0000
commitd819080cbadbd4b820ba77fe8c9b5ed0cbbfe581 (patch)
treed6c0ef96e616a594bba04e704d0042365e5a77ab /elf/dlsym.c
parent1f4a4317e1bafb185a22951f7921af4f9673811e (diff)
downloadglibc-d819080cbadbd4b820ba77fe8c9b5ed0cbbfe581.tar.gz
glibc-d819080cbadbd4b820ba77fe8c9b5ed0cbbfe581.tar.xz
glibc-d819080cbadbd4b820ba77fe8c9b5ed0cbbfe581.zip
Mon Jul 10 05:39:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
	* sysdeps/mach/hurd/i386/init-first.c (init): Take just one arg,
 	DATA for the entry SP; DATA[-1] is always the return address
 	location.  In both cthreads and non-cthreads cases, use asm to
 	force parameters into %eax and %ecx before return, and mutate
 	DATA[-1] to return to specific asm code to set up the user from
 	%eax and %ecx.
	[PIC] (_init): Caller changed.
	(__libc_init_first) [! PIC] (doinit): Use asm to effect call to init
	with SP unwound to argument data ptr.

Thu Jul  6 14:28:56 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

	* sysdeps/mach/hurd/dl-sysdep.c (fmh): Fixed this kludge to work
 	when 0x08000000 and up are not mapped.

	* Makerules (stamp$o-$(subdir) rule): Remove the timestamp file
 	before touching it.
	(lib%.so): Use -Wl to get -soname to ld.

	* elf/dlsym.c: Pass final arg to _dl_lookup_symbol.

	* elf/Makefile (libdl.so): Pass $(LDFLAGS.so).
Diffstat (limited to 'elf/dlsym.c')
-rw-r--r--elf/dlsym.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dlsym.c b/elf/dlsym.c
index dbd617ec9a..40ed850f64 100644
--- a/elf/dlsym.c
+++ b/elf/dlsym.c
@@ -33,7 +33,7 @@ dlsym (void *handle, const char *name)
   void doit (void)
     {
       const Elf32_Sym *ref = NULL;
-      value = _dl_lookup_symbol (name, &ref, map, map->l_name);
+      value = _dl_lookup_symbol (name, &ref, map, map->l_name, 1);
     }
 
   /* Confine the symbol scope to just this map.  */