Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* sysdeps/i386/dl-machine.h (elf_machine_rel): Use +=, not =, to
	apply R_386_PC32 reloc.
  • Loading branch information
Roland McGrath committed Oct 12, 1995
1 parent db65048 commit 5d82cf5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
@@ -1,5 +1,8 @@
Wed Oct 11 00:00:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>

* sysdeps/i386/dl-machine.h (elf_machine_rel): Use +=, not =, to
apply R_386_PC32 reloc.

* Makeconfig (config-LDFLAGS): Add missing slash.

* sysdeps/mach/hurd/profil.c (fork_profil): Only call
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/i386/dl-machine.h
Expand Up @@ -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;
Expand Down

0 comments on commit 5d82cf5

Please sign in to comment.