about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/i386/dl-machine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/i386/dl-machine.h b/sysdeps/i386/dl-machine.h
index 546828093f..bdca6bec3b 100644
--- a/sysdeps/i386/dl-machine.h
+++ b/sysdeps/i386/dl-machine.h
@@ -107,7 +107,7 @@ elf_machine_rel (struct link_map *map,
 	*reloc_addr += map->l_addr;
       break;
     case R_386_PC32:
-      *reloc_addr = sym_value - (Elf32_Addr) reloc_addr;
+      *reloc_addr += sym_value - (Elf32_Addr) reloc_addr;
       break;
     case R_386_NONE:		/* Alright, Wilbur.  */
       break;