aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-08-24 15:12:38 +0000
committerUlrich Drepper <drepper@redhat.com>2001-08-24 15:12:38 +0000
commit3dc51a93dec50c74f6cbcc486e3153f585955a72 (patch)
treed5960d7ee6361c427fa0099de0f591ceb86ba765
parent1f2a1df36b8e103660786a3058ef5a7dce9797fc (diff)
downloadglibc-3dc51a93dec50c74f6cbcc486e3153f585955a72.zip
glibc-3dc51a93dec50c74f6cbcc486e3153f585955a72.tar.gz
glibc-3dc51a93dec50c74f6cbcc486e3153f585955a72.tar.bz2
Update.
2001-08-24 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction of R_386_NONE.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/i386/dl-machine.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d1390e4..99aaa59 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/sysdeps/i386/dl-machine.h b/sysdeps/i386/dl-machine.h
index 99576ae..6b6c91e 100644
--- a/sysdeps/i386/dl-machine.h
+++ b/sysdeps/i386/dl-machine.h
@@ -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