2001-08-24  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction
	of R_386_NONE.
This commit is contained in:
Ulrich Drepper 2001-08-24 15:12:38 +00:00
parent 1f2a1df36b
commit 3dc51a93de
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-08-24 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction
of R_386_NONE.
2001-08-24 Jakub Jelinek <jakub@redhat.com>
* elf/do-rel.h (elf_machine_rel_relative): Define for rela if

View File

@ -320,7 +320,7 @@ elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc,
*reloc_addr += map->l_addr;
}
#ifndef RTLD_BOOTSTRAP
else if (__builtin_expect (r_type == R_386_NONE, 1))
else if (__builtin_expect (r_type == R_386_NONE, 0))
return;
#endif
else