about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-10-18 11:01:58 +0000
committerAndreas Jaeger <aj@suse.de>2000-10-18 11:01:58 +0000
commitcd3cd00ccbc59d0b26909aab93f5345541f7aaf4 (patch)
tree361bd3dd9b5fd70dbf3d5a75409ea70ab805b953 /sysdeps
parentc9f4ffcf5a3c2dbf748149fd93f1260a83c7ce31 (diff)
downloadglibc-cd3cd00ccbc59d0b26909aab93f5345541f7aaf4.tar.gz
glibc-cd3cd00ccbc59d0b26909aab93f5345541f7aaf4.tar.xz
glibc-cd3cd00ccbc59d0b26909aab93f5345541f7aaf4.zip
Update.
2000-10-18  Andreas Jaeger  <aj@suse.de>

	* 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 <ralf@gnu.org>.

2000-10-09  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>

	* 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.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/dl-cache.c3
1 files changed, 2 insertions, 1 deletions
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,