From d819080cbadbd4b820ba77fe8c9b5ed0cbbfe581 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 10 Jul 1995 09:40:15 +0000 Subject: Mon Jul 10 05:39:21 1995 Roland McGrath * 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 * 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). --- elf/dlsym.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elf') 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. */ -- cgit v1.2.3-65-gdbad