mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-05 21:00:05 +00:00
* sysdeps/i386/dl-machine.h (elf_machine_rel): Use +=, not =, to
apply R_386_PC32 reloc.
This commit is contained in:
parent
db65048bb3
commit
5d82cf5c55
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user