Browse Source

Joakim Tjernlund writes:

This is just a wild guess, but you could try this to see if it fixes
Richards problem:
Eric Andersen 22 years ago
parent
commit
4f94490ef4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      ldso/ldso/powerpc/elfinterp.c

+ 2 - 2
ldso/ldso/powerpc/elfinterp.c

@@ -590,8 +590,8 @@ _dl_do_copy (struct elf_resolve *tpnt, struct dyn_elf *scope,
 			     symname, symtab[symtab_index].st_size,
 			     symbol_addr, symtab[symtab_index].st_value);
 #endif
-		_dl_memcpy((char *) symtab[symtab_index].st_value, 
-			(char *) symbol_addr, symtab[symtab_index].st_size);
+			_dl_memcpy((char *) reloc_addr,
+					(char *) symbol_addr, symtab[symtab_index].st_size);
 	}
 
 	return goof;