summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ldso/ldso/powerpc/elfinterp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/powerpc/elfinterp.c b/ldso/ldso/powerpc/elfinterp.c
index adf95d63c..4919a2f01 100644
--- a/ldso/ldso/powerpc/elfinterp.c
+++ b/ldso/ldso/powerpc/elfinterp.c
@@ -403,7 +403,7 @@ int _dl_parse_relocation_information(struct elf_resolve *tpnt,
break;
case R_PPC_JMP_SLOT:
{
- unsigned long targ_addr = (unsigned long)_dl_linux_resolve;
+ unsigned long targ_addr = (unsigned long)*reloc_addr;
int delta = targ_addr - (unsigned long)reloc_addr;
if(delta<<6>>6 == delta){
*reloc_addr = OPCODE_B(delta);