+2001-10-31 Ulrich Drepper <drepper@redhat.com>
+
+ * elf/dl-load.c (_dl_map_object): Make code a bit more compact by
+ avoiding unnecessary duplication.
+
+2001-10-31 Jakub Jelinek <jakub@redhat.com>
+
+ * elf/dl-load.c (_dl_map_object): If library was found using
+ LD_LIBRARY_PATH, don't try RUNPATH list.
+
2001-10-31 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/s390-32/register-dump (REGISTER_DUMP):
* sysdeps/ieee754/dbl-64/mpa.h: Add prototypes for internal functions.
-2001-10-29 Kevin Ryde <user42@zip.com.au>
+2001-10-29 Kevin Ryde <user42@zip.com.au>
* manual/stdio.texi (Integer Conversions): Corrections to sample printf
output, clarify `#' behaviour on 0.
&realname, &fb);
/* Look at the RUNPATH information for this binary. */
- if (loader != NULL && loader->l_runpath_dirs.dirs != (void *) -1)
+ if (fd == -1 && loader != NULL
+ && loader->l_runpath_dirs.dirs != (void *) -1)
{
if (loader->l_runpath_dirs.dirs == NULL)
{
+ loader->l_info[DT_RUNPATH]->d_un.d_val);
decompose_rpath (&loader->l_runpath_dirs,
(const char *) ptrval, loader, "RUNPATH");
-
- if (loader->l_runpath_dirs.dirs != (void *) -1)
- fd = open_path (name, namelen, preloaded,
- &loader->l_runpath_dirs, &realname, &fb);
}
}
- else if (loader->l_runpath_dirs.dirs != (void *) -1)
+
+ if (loader->l_runpath_dirs.dirs != (void *) -1)
fd = open_path (name, namelen, preloaded,
&loader->l_runpath_dirs, &realname, &fb);
}
-/* Copyright (C) 1991,92,93,95,96,97,98,99,2000,2001 Free Software Foundation, Inc.
+/* Copyright (C) 1991-1993, 1995-2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
#define __STDC_IEC_559__ 1
#define __STDC_IEC_559_COMPLEX__ 1
-/* wchar_t uses ISO 10646-1 (2nd ed., published 2000-09-15) / Unicode 3.0. */
+/* wchar_t uses ISO 10646-1 (2nd ed., published 2000-09-15) / Unicode 3.1. */
#define __STDC_ISO_10646__ 200009L
/* This macro indicates that the installed library is the GNU C Library.
/* This is here only because every header file already includes this one. */
#ifndef __ASSEMBLER__
-#ifndef _SYS_CDEFS_H
-# include <sys/cdefs.h>
-#endif
+# ifndef _SYS_CDEFS_H
+# include <sys/cdefs.h>
+# endif
/* If we don't have __REDIRECT, prototypes will be missing if
__USE_FILE_OFFSET64 but not __USE_LARGEFILE[64]. */