From cd3cd00ccbc59d0b26909aab93f5345541f7aaf4 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 18 Oct 2000 11:01:58 +0000 Subject: Update. 2000-10-18 Andreas Jaeger * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_OK): New. (ELF_MACHINE_BEFORE_RTLD_RELOC): Handle newer linkers. (elf_machine_runtime_link_map): Likewise. (elf_machine_runtime_setup): Likewise. Handle dynamic linker's local got entries. Patches by Ralf Baechle . 2000-10-09 Maciej W. Rozycki * sysdeps/mips/dl-machine.h (_dl_runtime_resolve): Define $sp as the frame pointer. Allocate stack space for $a0 for __dl_runtime_resolve(). Do not save $sp in $s0 as it's callee-saved anyway. --- sysdeps/generic/dl-cache.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sysdeps') diff --git a/sysdeps/generic/dl-cache.c b/sysdeps/generic/dl-cache.c index fdbff88279..311869fb7f 100644 --- a/sysdeps/generic/dl-cache.c +++ b/sysdeps/generic/dl-cache.c @@ -184,7 +184,8 @@ _dl_load_cache_lookup (const char *name) } else if (file && cachesize > sizeof *cache_new) { - cache = cache_new = (struct cache_file_new *) file; + cache_new = file; + cache = file; if (memcmp (cache_new->magic, CACHEMAGIC_NEW, sizeof CACHEMAGIC_NEW - 1) || memcmp (cache_new->version, CACHE_VERSION, -- cgit 1.4.1