OSDN Git Service

Joakim Tjernlund writes:
authorEric Andersen <andersen@codepoet.org>
Wed, 3 Dec 2003 23:28:33 +0000 (23:28 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 3 Dec 2003 23:28:33 +0000 (23:28 -0000)
This is just a wild guess, but you could try this to see if it fixes
Richards problem:

ldso/ldso/powerpc/elfinterp.c

index c1cc242..b7b6843 100644 (file)
@@ -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;