From a23db8e4af794430fe69c17bd884f03669d307d7 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 16 Jun 1996 01:27:54 +0000 Subject: Sat Jun 15 18:13:43 1996 Roland McGrath * 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. --- elf/link.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'elf/link.h') diff --git a/elf/link.h b/elf/link.h index f43ec41..1e0104a 100644 --- a/elf/link.h +++ b/elf/link.h @@ -205,11 +205,9 @@ extern void _dl_setup_hash (struct link_map *map); /* Open the shared object NAME, relocate it, and run its initializer if it - hasn't already been run. LOADER's DT_RPATH is used in searching for - NAME. MODE is as for `dlopen' (see ). If the object is - already opened, returns its existing map. */ -extern struct link_map *_dl_open (struct link_map *loader, - const char *name, int mode); + hasn't already been run. MODE is as for `dlopen' (see ). If + the object is already opened, returns its existing map. */ +extern struct link_map *_dl_open (const char *name, int mode); /* Close an object previously opened by _dl_open. */ extern void _dl_close (struct link_map *map); -- cgit v1.1