aboutsummaryrefslogtreecommitdiff
path: root/elf/dlopen.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-06-16 01:27:54 +0000
committerRoland McGrath <roland@gnu.org>1996-06-16 01:27:54 +0000
commita23db8e4af794430fe69c17bd884f03669d307d7 (patch)
tree2f5c0e5daf975595266cd58a12d7f71958fdde23 /elf/dlopen.c
parentf332db025658c36adaad3759d438ef5117a595c8 (diff)
downloadglibc-a23db8e4af794430fe69c17bd884f03669d307d7.zip
glibc-a23db8e4af794430fe69c17bd884f03669d307d7.tar.gz
glibc-a23db8e4af794430fe69c17bd884f03669d307d7.tar.bz2
Sat Jun 15 18:13:43 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/unix/sysv/linux/Dist: Add sys/klog.h. * elf/dl-open.c (_dl_open): Remove PARENT argument, pass null. * elf/link.h: Update prototype. * elf/dl-load.c (_dl_map_object): If dependents' DT_RPATHs don't find NAME, try the DT_RPATH of the executable itself if dynamic. * elf/dlopen.c (dlopen): Don't pass first arg to _dl_open. * elf/dl-load.c (_dl_map_object): Exit DT_RPATH checking loop when an open succeeds. * Makerules (build-shlib): Give -L opts for each elt of $(rpath-link). * sysdeps/mach/hurd/Makefile (sysdep-LDFLAGS): Variable removed. (rpath-link): Append to this instead.
Diffstat (limited to 'elf/dlopen.c')
-rw-r--r--elf/dlopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dlopen.c b/elf/dlopen.c
index e261fca..9de787d 100644
--- a/elf/dlopen.c
+++ b/elf/dlopen.c
@@ -28,7 +28,7 @@ dlopen (const char *file, int mode)
void doit (void)
{
- new = _dl_open (_dl_loaded, file ?: "", mode);
+ new = _dl_open (file ?: "", mode);
}
return _dlerror_run (doit) ? NULL : new;