summaryrefslogtreecommitdiff
path: root/elf/readlib.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-03-10 16:40:59 +0000
committerUlrich Drepper <drepper@redhat.com>2001-03-10 16:40:59 +0000
commit667b05772506c97e7d5dbddd405b593d99fc64b1 (patch)
treec6eead1cc5efa84cc3cb84fa70ab221c826d30d4 /elf/readlib.c
parentf79bdc33c766b53cf3169c62e386a68d061b71b6 (diff)
downloadglibc-667b05772506c97e7d5dbddd405b593d99fc64b1.tar.gz
Update.
2001-03-07 David Mosberger <davidm@hpl.hp.com> * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro. 2001-03-07 Jes Sorensen <jes@linuxcare.com> * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused variables addr & len. 2001-02-22 Jes Sorensen <jes@linuxcare.com> * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove punctuation in asm constraint. 2001-03-07 Mark Kettenis <kettenis@gnu.org> * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include <time.h> to get definition of `struct timespec'. 2001-03-08 Jakub Jelinek <jakub@redhat.com> * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if LD_WARN=1, not if LD_WARN is unset. 2001-03-07 Andreas Schwab <schwab@suse.de> * elf/ldconfig.h: Moved to ... * sysdeps/generic/ldconfig.h: ... here. * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file. * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file. * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file. * elf/readlib.c (interpreters, known_libs): Use SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES instead of hard coding old names.
Diffstat (limited to 'elf/readlib.c')
-rw-r--r--elf/readlib.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/elf/readlib.c b/elf/readlib.c
index 70a77e2e72..746c78f345 100644
--- a/elf/readlib.c
+++ b/elf/readlib.c
@@ -51,17 +51,18 @@ struct known_names
static struct known_names interpreters [] =
{
{"/lib/" LD_SO, FLAG_ELF_LIBC6},
- {"/lib/ld-linux.so.1", FLAG_ELF_LIBC5}
+#ifdef SYSDEP_KNOWN_INTERPRETER_NAMES
+ SYSDEP_KNOWN_INTERPRETER_NAMES
+#endif
};
static struct known_names known_libs [] =
{
- /* Old names: */
- {"libc.so.5", FLAG_ELF_LIBC5},
- {"libm.so.5", FLAG_ELF_LIBC5},
- /* Current names: */
{LIBC_SO, FLAG_ELF_LIBC6},
- {LIBM_SO, FLAG_ELF_LIBC6}
+ {LIBM_SO, FLAG_ELF_LIBC6},
+#ifdef SYSDEP_KNOWN_LIBRARY_NAMES
+ SYSDEP_KNOWN_LIBRARY_NAMES
+#endif
};