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 36840fac1..db53e8f46 100644
--- a/ldso/ldso/powerpc/elfinterp.c
+++ b/ldso/ldso/powerpc/elfinterp.c
@@ -380,7 +380,7 @@ int _dl_parse_relocation_information(struct elf_resolve *tpnt,
}
break;
case R_PPC_RELATIVE:
- *reloc_addr += (unsigned long)tpnt->loadaddr + addend;
+ *reloc_addr = (unsigned long)tpnt->loadaddr + addend;
break;
case R_PPC_ADDR32:
*reloc_addr += symbol_addr;