summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
Diffstat (limited to 'ldso')
-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;