summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-12-03 23:28:33 +0000
committerEric Andersen <andersen@codepoet.org>2003-12-03 23:28:33 +0000
commit4f94490ef4045c1cc13542142414f6e0c96dee15 (patch)
tree47355e5b6789b9013444683ab10b8f4256432bb0
parent51860f4122fd8d0adc8b2075dbdbe91031b84f4c (diff)
Joakim Tjernlund writes:
This is just a wild guess, but you could try this to see if it fixes Richards problem:
-rw-r--r--ldso/ldso/powerpc/elfinterp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldso/ldso/powerpc/elfinterp.c b/ldso/ldso/powerpc/elfinterp.c
index c1cc2429e..b7b684337 100644
--- a/ldso/ldso/powerpc/elfinterp.c
+++ b/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;