diff options
author | Roland McGrath <roland@gnu.org> | 1995-10-12 09:00:05 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-10-12 09:00:05 +0000 |
commit | 5d82cf5c55f56ae10d3b0a205d1fcc7de1cf56a0 (patch) | |
tree | 7ad14490a8e1a1900e19915bb6c132a167b51d78 /sysdeps | |
parent | db65048bb3c73fc0ec408df62c6f78fa39d62d85 (diff) | |
download | glibc-5d82cf5c55f56ae10d3b0a205d1fcc7de1cf56a0.tar glibc-5d82cf5c55f56ae10d3b0a205d1fcc7de1cf56a0.tar.gz glibc-5d82cf5c55f56ae10d3b0a205d1fcc7de1cf56a0.tar.bz2 glibc-5d82cf5c55f56ae10d3b0a205d1fcc7de1cf56a0.zip |
* sysdeps/i386/dl-machine.h (elf_machine_rel): Use +=, not =, to
apply R_386_PC32 reloc.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/i386/dl-machine.h | 2 |
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; |