summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-03-14 23:10:19 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-03-14 23:10:19 +0000
commitf6a7a082e18b68c38a3788035e7bf508da67d7a1 (patch)
treeefcf552c7b3696419420796b3720c6ebef5bd719 /ldso
parent112b1a413234988767c6d636f4aa8472f423d864 (diff)
Oops, fix typo.
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/i386/dl-sysdep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/i386/dl-sysdep.h b/ldso/ldso/i386/dl-sysdep.h
index ecc7b0b4c..de0e85faa 100644
--- a/ldso/ldso/i386/dl-sysdep.h
+++ b/ldso/ldso/i386/dl-sysdep.h
@@ -76,6 +76,6 @@ elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr,
do {
Elf32_Addr *const reloc_addr = (void *) (load_off + (++rpnt)->r_offset);
- *reloc_addr = load_off;
+ *reloc_addr += load_off;
} while (--relative_count);
}